Q.

Which of the following statements is false about recursion?

A. every recursive function must have a base case
B. infinite recursion can occur if the base case isn’t properly mentioned
C. a recursive function makes the code easier to understand
D. every recursive function must have a return value
Answer» D. every recursive function must have a return value
Explanation: a recursive function needn’t have a return value.
697
0
Do you find this helpful?
1

Discussion

No comments yet