The recursion process in C refers to the process in which the program repeats a certain section of code in a similar way. In C Programming if a function calls itself from inside the same function is called recursion. The function which calls itself is called a recursive function and the function call is termed a recursive call.
While using recursion make sure that it has a base (exit) condition, otherwise the program will go in the infinite loop.
Example:
void recurse()
{
… .. …
recurse(); /* calling of the function by itself */
… .. …
}
int main()
{
… .. …
recurse();
… .. …
}