Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Program Discussion :: Basics

Home > Programs > Basics

5 / 265

Write a program to print the nth fibonacci number.


int main(int varc,char *varg[])
 int n=atoi(varg[1]);
 int n1=0,n2=1,n3,i,sum;

Asked In :: Cisco TCS Syntel Inc.

Post Your Answer Here:


Post Your Reply Here: