File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
// syarra_sretniop.c (this is a play on "arrays" and "pointers" reversed.
2
2
// Chapter 14
3
- // <book title>
3
+ // Learn C Programming
4
4
//
5
5
// This is a copy of arrays_pointers.c which spefically demonstrate how to
6
6
// traverse the array _in_reverse_ using 3 methods:
7
7
// a) using array notation incrementing index;
8
8
// b) using pointer plus offset (pointer doesn't change); and
9
9
// c) using incremented pointer (pointer changes).
10
10
//
11
- // compile with: cc syarra_sretniop.c -o syarra_sretniop -Wall -Werror -std=c11
11
+ // compile with:
12
+ //
13
+ // cc syarra_sretniop.c -o syarra_sretniop -Wall -Werror -std=c11
12
14
//
13
15
14
16
#include <stdio.h>
@@ -86,4 +88,4 @@ int main(int argc, char *argv[])
86
88
}
87
89
}
88
90
89
- /* eof */
91
+ // eof
You can’t perform that action at this time.
0 commit comments