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 ______.

1
yx
2
GCD of x and y
3
xy
4
LCM of x and y

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation