Skip to main content

How to print Hello World .

                                                    " 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 bracesafter 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.

\nback 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 👍👍


Comments

Post a Comment

Popular posts from this blog

WHAT IS TECHNOLOGY ?

  Modern life deeply incorporates technology as a method which applies scientific knowledge for practical industrial use. The human-made tools and machines combined with technical systems and manufacturing methods work together to address problems and improve existence while enhancing everyday life. The methods and procedures found in technology extend beyond physical devices since they emerge from scientific understanding which streamlines everyday operations. THE ROOTS OF TECHNOLOGY The origins of technology date back to the early days of human history. Human beings started using stone tools and fire along with the wheel which became the earliest examples of technology. Early humans leveraged their innovative practices to make their way through their dangerous natural environment. The progression of human civilizations resulted in improved technological advancements. Human advancement occurred through technological means whenever ancient Egyptians built their pyramids and earl...

C PROGRAMMING LANGUAGE

                    C   PROGRAMMING   LANGUAGE   T he developers designed C as a procedural general-purpose programming language to create software through an efficient structured approach. The programmers created C as one of the oldest programming languages that remains influential through its main emphasis on efficiency as well as simplicity and flexibility since its founding years. Key Points About C Language: 1. " Dennis Ritchie" from Bell Labs (the research and development subsidiary of AT&T) developed C during 1972. The C language designers created it to extend the features of B language which had itself originated from BCPL language. 2. C emerged as a programming language to carry out the development of **Unix operating system* at Bell Labs where it originated. The designers created C to offer a high-level programming language that granted system programmers access to memory and system resou...