We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3b29dd commit 1adbe30Copy full SHA for 1adbe30
Chapter14/syarra_sretniop.c
@@ -1,14 +1,16 @@
1
// syarra_sretniop.c (this is a play on "arrays" and "pointers" reversed.
2
// Chapter 14
3
-// <book title>
+// Learn C Programming
4
//
5
// This is a copy of arrays_pointers.c which spefically demonstrate how to
6
// traverse the array _in_reverse_ using 3 methods:
7
// a) using array notation incrementing index;
8
// b) using pointer plus offset (pointer doesn't change); and
9
// c) using incremented pointer (pointer changes).
10
11
-// compile with: cc syarra_sretniop.c -o syarra_sretniop -Wall -Werror -std=c11
+// compile with:
12
+//
13
+// cc syarra_sretniop.c -o syarra_sretniop -Wall -Werror -std=c11
14
15
16
#include <stdio.h>
@@ -86,4 +88,4 @@ int main(int argc, char *argv[])
86
88
}
87
89
90
-/* eof */
91
+ // eof
0 commit comments