Consider the following function:
int test(int x, int y){if (x == y)return x;else if (x > y)return (x + y);elsereturn test(x + 1, y − 1);}What is the output of the following statements?
a. cout ≪ test(5, 10) ≪ end1;
b. cout ≪ test(3, 9) ≪ end1;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.