Given the following code. Show the dry run/ working .
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;
}
guys fast pls
Answers
Answered by
1
Answer:
can't understand brother plz attach image
Answered by
1
Answer:
yes please attach a picture
Similar questions