Computer Science, asked by shreysthb, 8 months ago

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 aishwaryanigam9934
1

Answer:

can't understand brother plz attach image

Answered by peaceonly
1

Answer:

yes please attach a picture

Similar questions