Technicalsymposium.com-Free Email Alerts


Enter Your Email :

Important Note:Login & Check Your Email Inbox and Activate Confirmation Link

Subscribe & Get All Fresher Jobs Information & Study Materials PDF and Projects- Free Download

C Programming Books PDF


C Aptitude Question Papers


Datastructure Programming in C



C Programming & Tech Interview Materials PDF- Free Download

C Program for fibanacci series using recursion.

void main()

{

int a,b,i,c;

clrscr();

printf("Enter the N value");

scanf("%d",&a);

for(i=0;i
{

printf("\n%d",fib(i));

}

getch();

}

int fib(int x)

{

if(x==0)

return(0);

if(x<=1)

{

return(1);

}

else

{

return(fib(x-1)+(fib(x-2)));

}

}

Download All C Programming & Study Materials PDF