From f00485fa11bcb0d2ae05098fe460be8523d5f8b2 Mon Sep 17 00:00:00 2001 From: Syed Arsalan Khan <64327902+arsalanmm010@users.noreply.github.com> Date: Sun, 28 Nov 2021 10:39:56 +0500 Subject: [PATCH] Updated HelloWorld.c Fixed the error of printing hello world --- beginner/HelloWorld.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beginner/HelloWorld.C b/beginner/HelloWorld.C index 4b0788b..dbefbdb 100644 --- a/beginner/HelloWorld.C +++ b/beginner/HelloWorld.C @@ -2,6 +2,7 @@ int main(void) { - print("Hello World"); + // print("Hello World"); This is a syntax error + printf("Hello World"); // This is how to print in C return 0; }