Function which call itself repeatedly is called Recursion Function. Recursion function are used to write the series like fibonoic series, arthematic series etc.
Recursion functions are the functions calling itself.That means, Recursion is an approach where a function calls itself with an argument and as the control reaches to a termination condition, the control returns to the calling function.
for example;
void sum(int a,int b)
{
int sum=0;
sum=a+b;
sum();
}
Prateek Gupta
Function which call itself repeatedly is called Recursion Function. Recursion function are used to write the series like fibonoic series, arthematic series etc.
Jayshree
Recursion functions are the functions calling itself.That means, Recursion is an approach where a function calls itself with an argument and as the control reaches to a termination condition, the control returns to the calling function.
for example;
void sum(int a,int b)
{
int sum=0;
sum=a+b;
sum();
}