C simple program




Tips for New Programmers 1 : About Simple Program 


  1. Include following header file in order to print simply “Hello”
#include<stdio.h>
  1. Don’t forgot to write main function.
  2. Separate line for each header file .
  3. Each Statement is terminated by Semicolon (;) .
  4. Main function starts with opening parenthesis (” { “) and ends with closing parenthesis (” } “) .
  5. Simple Hello Word Program :
#include<stdio.h>
main()
{
printf("Hello World");
}