1.

What would be returned by the following recursive function after we call test (0, 3) int test (int a, int b) { if (a==b) return (1); else if (a>b) return(0); else return (a+test(a+1, b)); }

A. 1
B. 2
C. 3
D. 4
Answer» E.


Discussion

No Comment Found