Skip to content

Commit d75b89a

Browse files
authored
update tombstone
1 parent 1fb1eff commit d75b89a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Chapter11/array2.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
// array2.c
22
// Chapter 11
3-
// <book title>
3+
// Learn C Programming
44
//
55
// Demonstrate arroy bounds issues.
66
//
7+
// Compile with:
8+
//
9+
// cc array2.c -o array2 -Wall -Werror -std=c11
10+
//
711

812

913
#include <stdio.h>
@@ -19,3 +23,5 @@ int main( void ) {
1923
// anArray[ 11 ] = 7; // Compiler error!
2024
anArray[ x] = 0; // No compiler error, but runtime error!
2125
}
26+
27+
// eof

0 commit comments

Comments
 (0)