MCQOPTIONS
Saved Bookmarks
| 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. | none of the mentioned |
| Answer» B. return 0 | |