6. Find the output of the below program:
#include<stdio.h>
int fun(int a, int b)
{
if (b == 0)
{
return 0;
}
if (b% 2 == 0)
{
return fun(a+a, b/2);
}
return fun(a+a, b/2) + a;
}
int main()
{
int x=10,y=7
int z=fun(y,x);
printf("%d",z);
return 0;
Answers
Answered by
0
Answer:
Subaru artistic rocks special Costco chorizoଭ hypocrisy driving. Guido crispy dog cartoon
Similar questions
Social Sciences,
1 month ago
Social Sciences,
1 month ago
Math,
1 month ago
Social Sciences,
3 months ago
English,
3 months ago
Computer Science,
8 months ago
Math,
8 months ago
Chemistry,
8 months ago