Hello World C Language Example Program

MAJOR PARTS:

  • Header Files Declaration
  • Main Function - int main()
  • Other Functions(Optional)

EXAMPLE PROGRAM:

/* Example Program For Hello World In C Programming Language
  little drops @ thiyagaraaj.com
  Coded By:THIYAGARAAJ MP       */

// Header Files
#include<stdio.h>
#include<conio.h>

//Main Function
int main()
{
  //Standard Ouput Statement
  printf("My First C Program");

  // Wait For Output Scree
  getch();

  //Main Function return Statement
  return 0
}

SAMPLE OUTPUT:

My First C Program

 

 

Top Pages