Solved

To Complete the Recursive Call to Gcd, Which Argument Set

Question 12

Multiple Choice

To complete the recursive call to gcd, which argument set should be inserted?

int gcd(int m, int n) {
if (m % n==0)
return n;
else if ( }\textrm{m}<\textrm{n}\mathrm{ )
return gcd(n, m) ;
else
return gcd(() ;
}


A) n, m
B) m % n
C) m, n / m
D) n, m % n

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents