" Hello World "
In this blog we are going to see how to print "Hello World" in c language.
Step by step explanation is also given below - This code is written in C - Language on VS-Code :-
In above figure , code is written to print “hello world”.
Lets understand, each component of code –
Preprocessor Command -
This is also known as “Header File” , This command asks for file, then after
anything will happen.
In case you do not use pre processor command
then it will not get file to start further programming.
Int main() – this is a
function, from where the execution of program starts.
{ - open curly braces – after this symbol we
start to write code.
Printf(" ") - this function is use
to take desired output on console.
What we want to print as
an output we can write in this function.
Return 0; - if there is no error in code then return will be zero.
} – close curly braces-this shows that code is completed.
\n – back slash n- this is use to break the line.
* After run this program we get output as hello world
Thank You!
Follow to learn each and every basic to advance level of programming language 👍👍

nice information
ReplyDelete