

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following recursive implementation to find the factorial of a number:Which of the following lines is the base case? |
A. | return 1 |
B. | return n * fact(n-1) |
C. | if(n == 0) |
D. | none of the mentioned |
Answer» D. none of the mentioned | |