Q. Which of these is not true about recursion?

  • (A) it’s easier to code some real-world problems using recursion than non-recursive equivalent
  • (B) recursive functions are easy to debug
  • (C) recursive calls take up a lot of memory
  • (D) programs using recursion take longer time than their non-recursive equivalent
πŸ’¬ Discuss
βœ… Correct Answer: (B) recursive functions are easy to debug
Explanation: recursive functions may be hard to debug as the logic behind recursion may be hard to follow.

Explanation by: Mr. Dubey
recursive functions may be hard to debug as the logic behind recursion may be hard to follow.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
420
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate