Fibonacci series program code in C language:
What does below function do?.
int test(int n)
if (n <= 2) return 1
else return test(n-1) + test(n-2)
this is a iterative way to generate Fibonacci series.
this is recursive way to find factorial of a given number
This is a recursive way to do Fibonacci series.
this is an iterative way to find factorial of a given number.
Back To Top