Fibonacci
Level 1 Easy Recursion QuestionsThis function calculates the n-th Fibonacci number. In the Fibonacci sequence, each number is the sum of the two preceding ones, starting from 0 and 1.
Keep reading this lesson
You've reached the end of the free preview. Unlock the rest of this lesson plus 10 more lessons in Mastering Recursion With C.
- Unlimited coding questions
- Unlimited access to all classroom material
- Weekly live call for questions and guidance
- Mock exams marked by hand, with feedback
- 3,000 AI tutor tokens / month
- Personal SQL database (3 MB)
- Progress tracking
Cancel anytime.