Q. 8 In the following C function, let n # m.
int gcd(n,m) { if (n%m == ) return m; n = n%m; return gcd(m,n); }
How many recursive calls are made by this function?
Answer: (A)
Explanation:
Q. 8 In the following C function, let n # m.
int gcd(n,m) { if (n%m == ) return m; n = n%m; return gcd(m,n); }
How many recursive calls are made by this function?
Answer: (A)
Explanation: