what is Declaration and Definition ?
Difference Between Declaration And Defination ? With Examples difference
Any function can be declared many times but it can be defined only once.
FUNCTION DEFINATION:
int add (int x , int y)
{
int a;
a = x + y;
return a;
}
FUNCTION DECLARATION:
int add (int p1, int p2);