Recursion In C Language

aimtocode

C Recursion Definition

Recursion in C Programming is technique in which function call’s itself number of times. The function calls itself is referred as recursive function and call is recursive call.

Recursion is the process of repeating items in a self-similar way.

Example:



Output:

Enter any positive integer: 4

Factorial of 4 is 24

--------------------------------

Fibonacci Series



Output:

 0	
 1	
 1	
 2	
 3	
 5	
 8	
 13	
 21	
 34
aimtocode