How to Write the First Hello World Program in C Language
First Hello World C Program.
Example C Program
1 /*
2 Include the files to get predefined functions
3 Like printf to print some message
4 */
5 #include<stdio.h>
6
7 /* Entry poing for the program */
8 int main(){
9
10 /* Pring the message*/
11 printf("Hello World");
12
13 /* Return 0 indicating that this program ran without any error
14 0 means success */
15 return 0;
16 }