Hello World Program in C
Contents
Description: The first C program to print the Hello World in the output screen.
Implementation
#includeint main() { printf("Hello World"); return 0; }
Output:

Explanation
#include
This is the compiler statement to include the standard input and output header files in the program.
int main()
The starting point of the C program and int represents the return type of the program.
printf()
This is the function to print the string which is given in the double quotes. In this program,Hello world is a string and printf function display the same in the output screen.
return 0
The return value of the program specified using return statement.After the successful execution of the program,the value 0 returns here.
C Hello World Program without printf
#includeint main() { puts("Hello World"); return 0; }