Saturday, June 4, 2016

//C first program  example
#include "stdio.h" 

void main()
{
  printf("Hello i am kalpesh rakholiya \n");
  
}
 
 

In Above program
  • first statement include STanDard Input Output library functions from stdio.h file to your program.
  • compilation of  C language program start from main function and it will return by default integer value but if you write void keyword then it will not return any value
  • void means nothing to return , or having no value.
  • printf functions definition is compiled from stdio.h file and it will be print string on the screen of output.
  • string is always in double quotation while character is always in single quotation.