1.

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» Correct choice is (d) Every recursive function must have a return value

Best explanation: A recursive function needn’t have a return value.


Discussion

No Comment Found