Computer Science, asked by nanditha2021, 3 months ago



PREDICT OUTPUT OF FOLLOWING PROGRAM
#include <stdio.h>
int f(int n)
{
if (n == 6)
return n;
else return 4*f(n+1);
}
int main()
{
printf("%d ", f(4));
return 0;
}​

Answers

Answered by Anonymous
3

Answer:

PREDICT OUTPUT OF FOLLOWING PROGRAM

#include <stdio.h>

int f(int n)

{

if (n == 6)

return n;

else return 4*f(n+1);

}

int main()

{

printf("%d ", f(4));

return 0;

}

Similar questions