1.

What is the following function computing? Assume a and b are positive integers. int fn( int a, int b) { if (b == 0) return b; else return (a * fn(a, b - 1)); }

A. Output will be 0 always
B. Output will always be b
C. Computing ab
D. Computing a + b
Answer» B. Output will always be b


Discussion

No Comment Found