C Hello World

0 minute read

How to start C programming, what about just printing out a simple statement like hello world.

1
2
3
4
5
6
7
#include <stdio.h>	/* standard C library */

int main()
{
    printf("Hello World\n");    /* Prints statement then prints empty line afterwards */
    return 0;                   /* returns with 0 */
}

C Programming