Declaring Function
In C programming, all executable code resides within a function. A function is a named block of code that performs a task and then returns control to a caller.
/*
http://www.ProbCOMP.com
In C programming, all executable code resides within a function. A function is a named block of code that performs a task and then returns control to a caller.
To declare a function we require the name of the function,its return type and the parametes types
*/
#include<stdio.h>
void display();
void main()
{
display();
}
void display()
{
printf("hello");
}
Download Program


