Computer Science, asked by ks5878864, 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);
}
ho
int main()
{
printf("%d ", f(4));
return 0;
}​

Answers

Answered by dubeyruchi7575
1

Explanation:

india has one of the smallest number of casses of disease such as diarrhoea, dysentery, clolera

a. True

b. false india has one of the smallest number of casses of disease such as diarrhoea, dysentery, clolera

a. True

b. false

Answered by SweetestBitter
1

Answer:

recursion

#include <stdio.h>

int f(int n)

{

if (n == 6)

return n;

else return 4*f(n+1);

}

ho

int main()

{

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

return 0;

}

Similar questions