From 07d5d0b3b9388f2c5b295a31cef22281e48754f4 Mon Sep 17 00:00:00 2001 From: samkishor <51151216+samkishor@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:08:39 +0530 Subject: [PATCH 1/3] updated --- Hello world | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hello world b/Hello world index 3b7617c..d68003b 100644 --- a/Hello world +++ b/Hello world @@ -1,6 +1,6 @@ -#include +#include int main() { - printf("Hello, World!"); + printf("Hello World!"); return 0; } From 25b64b7e984c2f9017a89b17ecf01d58a4a80284 Mon Sep 17 00:00:00 2001 From: samkishor <51151216+samkishor@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:32:53 +0530 Subject: [PATCH 2/3] updated --- pgm to read a line | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgm to read a line b/pgm to read a line index 9ae7bf8..b0a4bd9 100644 --- a/pgm to read a line +++ b/pgm to read a line @@ -6,7 +6,7 @@ int main() FILE *fptr; if ((fptr = fopen("program.txt", "r")) == NULL) { - print("Error! opening file"); + printf("Error! opening file"); exit(1); } From 633336c27fe6a37f279420c4de470970cbc6b797 Mon Sep 17 00:00:00 2001 From: samkishor <51151216+samkishor@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:40:22 +0530 Subject: [PATCH 3/3] updated --- length of a string | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/length of a string b/length of a string index 810e5cd..0222927 100644 --- a/length of a string +++ b/length of a string @@ -1,4 +1,4 @@ -#include +#include int main() { char s[1000];