1.

Consider the following code: Which of the following is the base case for the above recursive code?

A. if(n == 0)
B. return 0
C. return n + recursive_sum(n – 1)
D. if(n == 1)View Answer
Answer» B. return 0


Discussion

No Comment Found