Recursion in C

tutorial and example
tutorial and example

Recursion is a programming technique that allows the programmer to call the function within the same function.

The function which calls the same function is known as recursive function but a function that calls itself and doesn’t perform any task after function call is known as tail recursion.

Let us take an example: