MCQ
Which of these is not true about recursion?
  • A
    Making the code look clean
  • B
    A complex task can be broken into sub-problems
  • Recursive calls take up less memory
  • D
    Sequence generation is easier than a nested iteration

Answer

Correct option: C.
Recursive calls take up less memory
(c) Explanation: Recursive calls take up a lot of memory and time as memory is taken up each time the function is called.

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