<quiz display="simple"> { What is the output of the following program? <syntaxhighlight lang="c">

  1. include<stdio.h>

int fib(int n){ if(n<=2)return 1; else return fib(n-1)+fib(n-2); } main(){ int n; printf("enter the number "); scanf("%d",&n); printf("fib(%d)=%d",n,fib(n)); } </syntaxhighlight> |type="{}" /} { Abc }


</quiz>

<quiz display="simple"> { What is the output of the following program? <syntaxhighlight lang="c">

  1. include<stdio.h>

int fib(int n){ if(n<=2)return 1; else return fib(n-1)+fib(n-2); } main(){ int n; printf("enter the number "); scanf("%d",&n); printf("fib(%d)=%d",n,fib(n)); } </syntaxhighlight> |type="{}" /} { Abc }


</quiz>