How C Program Works

The most popular and widely used computer programming language is C Program. 
If you are very much interested in learning and creating programs then C language is the best choice for the startups. You can read and write code for a large platforms that is available.
This below given program explains the basic C program. 
                                                                                           
#include<stdio.h> - #include tells the preprocessor to add the contents of the file stdio.h before compilation.

int main() - The Second line tells the computer that this is the start of the main() function in C program. The compiler informs the operating system that the name of the program is main. And it is an important function of C language. The Keyword int shows that the function shows the integer value to the operating system. Every int main() should have a return 0 at the end of the program.

{ - This opening brace in the third line tells the beginning of the function.

printf() - This printf() command prints the statement which is shown inside the brackets. The statement "My first C Program !" is being displayed after the execution. \n is the new line Character. This character instructs the computer to go to the next line and print. This statement should always ends with a semi colon 

 } - The closing brace tells the end of the function. 

OUTPUT:
My first C Program !

Comments