|
|
|
|
Recursive Function
Recursion is the process of defining something in terms of itself, and is sometimes called circular definition. A function is said to be recursive if a statement in the body of the function calls itself. Each recursive function must specify an exit condition for it to terminate, otherwise it will go on indefinitely. #include
<stdio.h> |