Consider the following function:
int mystery(int a, int b) {
if (b == 1)
return a;
else
return a + mystery(a, b - 1);
}
What is the return value from calling mystery(A, 1)?
(Either write a number, or write "infinite recursion".)
A
This function adds a to itself b times.