Capgemini interview question

Fibonacci series code in C