Hello World Program in C language by R4R Team

We write the first program in C programming Language so that try to figure out each and every facts belows:

program-

#include< stdio.h>
void main()
{
printf("Hello World");
}


output-

Hello World

-In this program, firstly we include the stdio.h(standard input/output) heador file.
-then we write the main() function.
-and printf() function are use to print the statement i.e. "Hello World" on the console screen.
-Execution of this program is starts with the main() function. and then executes line by line.
-Here printf() is a Build-In function define in stdio.h

What is Void ?
- Here void is simply refers as : No return type.
- We also use some other data type at place of the void.




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!