Write a program to print Fibonacci Series using recursion. Fibonacci series is a very important program in terms of interviews. To make this program little tough interviewer ask to write a fibonacci series code using recursion.
You can check my previous post to use iterative approach to print Fibonacci series.
What is Recursion.
In recursion function call itself until the base condition is reached.
Read explanation of recursion and what’s the difference between iterative and recursive function.