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!
Kickstart Your Career

Get certified by completing the course

Get Started