From 97af919732604cba6c334ae48c017210a16dc805 Mon Sep 17 00:00:00 2001 From: Muhammad Salah <67175615+MuhammadSalah-MS@users.noreply.github.com> Date: Tue, 19 Nov 2024 00:28:20 +0200 Subject: [PATCH] Update printf_argument.c Replaced \n with \c Exercise 1-2 was to find out what happens when string contains \c, not \n --- chapter_1/exercise_1_02/printf_argument.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter_1/exercise_1_02/printf_argument.c b/chapter_1/exercise_1_02/printf_argument.c index a33077b..a580c37 100644 --- a/chapter_1/exercise_1_02/printf_argument.c +++ b/chapter_1/exercise_1_02/printf_argument.c @@ -2,6 +2,6 @@ int main(void) { - printf("hello: \n"); + printf("hello, world\c"); return 0; }