From a7b5ca7c6dff487e02abb76d5038131d6b1eb7a6 Mon Sep 17 00:00:00 2001 From: Muhammad Jaferi Date: Tue, 3 Feb 2026 16:54:17 -0500 Subject: [PATCH] Added a new print statement to hello.c and printed hello world in another way in hello1.c --- hello.c | 6 +++++- hello1.c | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 hello1.c diff --git a/hello.c b/hello.c index 8195ddb..bbc606d 100644 --- a/hello.c +++ b/hello.c @@ -3,5 +3,9 @@ int main(){ char hello[] = "Hello World"; - printf("%s", hello); + printf("%s\n", hello); + + int a = 10; + + printf("%d\n", a); } \ No newline at end of file diff --git a/hello1.c b/hello1.c new file mode 100644 index 0000000..9b21d83 --- /dev/null +++ b/hello1.c @@ -0,0 +1,5 @@ +#include + +int main(){ + printf("Hello World\n"); +} \ No newline at end of file