employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

Write a program to generate fibonacci series

Interview Answer

Anonymous

May 11, 2013

main() { int f1=0, f2=1, fib, i, n; printf("Enter the value of n\n"); scanf("%d",&n); for(i=0;i