Consider the following recursive function. int function (int x, int y) {
Consider the following recursive function.
int function (int x, int y) {
if (y <= 0) return x;
return function (y, x%y);
}
The above recursive function computes _______.
Show answerHide answer
Correct answer: (A) GCD of x and y