Recursion in C

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:

Example 1

Example 2


Leave a Comment