Hello World Program in C



Most students of programming languages, start from the famous 'Hello World' code. This program prints 'Hello World' when executed. This simple example tries to make understand that how C programs are constructed and executed.

#include <stdio.h>

int main() {
   printf("Hello World!");
   return 0;
}

The output of the program should be −

Hello World!
simple_programs_in_c.htm
Advertisements