Skip to content

Commit 97af919

Browse files
Update printf_argument.c
Replaced \n with \c Exercise 1-2 was to find out what happens when string contains \c, not \n
1 parent b6cc99f commit 97af919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter_1/exercise_1_02/printf_argument.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
int main(void)
44
{
5-
printf("hello: \n");
5+
printf("hello, world\c");
66
return 0;
77
}

0 commit comments

Comments
 (0)