MCQ
Which of the following statement 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
  • Every recursive function must have a return value

Answer

Correct option: D.
Every recursive function must have a return value
(d) Explanation: A recursive function needn't have a return value.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free