Recursion in C:
It is a function in C language that calls itself within its boundary.
Also, a caution note while programming it has to be kept in mind about the exit function else the program will go on infinite number of times.
Example :The following program calculates the factorial of a number using a recursion
Example :The following program generates the Fibonacci series for a number using a recursion
Comments
Post a Comment
if you have any doubts, pls let me know