C Program to Print Fibonacci Series using Recursion

Write a C program to print Fibonacci Series using recursion. Given an input number, we have to write a code to print Fibonacci series up to that number using Recursion.

This question is very important in terms of technical interviews.

You can check my previous post for PHP script to print Fibonacci series in PHP.

What is Recursion?

In recursion, A function calls itself until the base condition is reached. Recursive code is much cleaner and shorter as compared to iterative code.
For better understanding you can my previous post on recursion and what’s the difference between recursion and iteration.

For practice, you can solve Objective Question on Recursion

Pre-increment Vs Post-increment Operators- MCQ for Practice & Explanation

Pre-increment Vs Post-increment operators. What’s the difference between pre-increment (++i) and post-increment (i++) operators.  In this post, we’ll learn how pre-increment and post-increment operators work in programming.

In this post, You’ll find MCQ which will help you to understand this concept fully.