Skip to content

Commit 3be1a48

Browse files
authored
update tombstone
1 parent d546ba9 commit 3be1a48

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Chapter19/character_string.c

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
// character_string.c
22
// Chapter 19
3-
// <book title>
3+
// Learn C Programming
44
//
55
// Demonstrate how to
66
// 1) print a string using minimum field width, precision and alignment.
77
// 2) print sub-strings with pointer arithmetic.
88
// 3) print a character using minimum field width and alignment
99
//
10-
// compile with: cc character_string.c -o character_string -Wall -Werror -std=c11
10+
// compile with:
11+
//
12+
// cc character_string.c -o character_string -Wall -Werror -std=c11
1113
//
1214

1315
#include <stdio.h>
@@ -34,4 +36,6 @@ int main( void )
3436
printf( " %%c [%c] character\n" , aChar );
3537
printf( " %%10c [%10c] character right-aligned, field=10\n" , aChar );
3638
printf( " %%-10c [%-10c] character left-aligned, field=10\n\n" , aChar );
37-
}
39+
}
40+
41+
// eof

0 commit comments

Comments
 (0)