Monday, 9 May 2016

Function in C Language

#include <stdio.h>
 
void my_function();
 
main()
{
   printf("Main function.\n");
 
   my_fun();
 
   printf("Back in function main.\n");
 
   return 0;
}
 
void my_fun()
{
   printf("Welcome to my function.\n");
}

No comments:

Post a Comment