Tag Archives: recursion

Fibonacci in C with Recursion

code from 1:

Code from 0:

 

Youtube source:

When We Need Recursion ?

When we don’t need any explicit stacks then we need recursion:

 

Recursion in C

code:

Another code:
it’s not tail recursion

//printing from stack

 

Recursion Example

code: