Consider the function  fun (x,y) below.That is the value of fun (4,3)?
int fun (int x, int y) {
if (x==0)
return  y;
return fun (x-1, x+y);
}

A 13

B 12

C 9

D 10 

Solution

Correct Answer: Option A

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions