What does the following function do?
int fun (int x, int y)}
itf (y==0) return 0;
return {x+ fun (x, y-1);
}

A x+y

B x+x*y

C x*y

D xy

Solution

Correct Answer: Option C

Practice More Questions on Our App!

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