Computer Science, asked by kanugulanavya1527, 4 months ago

#include
int main()
{

void fib(int f1,int f2, int n)
{
static int i = 1;
int f3;
if(i <= n)
{
f3 = f1+f2
printf("%d", f3);
f1 =f2;
f2= f3;
i++ ;
fib(f1,f2,n);
}

}

return 0;
}
what error is there in this code, say correct answer

Answers

Answered by rcoe1947
0

Ans: #include

it should be

#include<stdio.h>

Similar questions