C program for recursive function

1. Online Compilers - Compile & Run your C/C++ programs:

✅ Online Compilers

2. Ask your questions or clarify your/others doubts from,

✅ Online Discussion Forums by Fresh2Refresh.com





What is recursive function?

When a function in C program calls by itself, then that function is called recursive function. This process is called recursion.

C program for recursive function:

Factorial and Fibonacci series will be a good example for recursive function as it calls by itself. Let’s discuss about Factorial program here.

Output:

Factorial of the number 8 is 40320


 

1. Online Compilers - Compile & Run your C/C++ programs:

✅ Online Compilers

2. Ask your questions or clarify your/others doubts from,

✅ Online Discussion Forums by Fresh2Refresh.com






Share this website !!!
Facebook Twitter Linkedin