Q. Recursion and iteration are the same programming approach.

  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (B) false
Explanation: in recursion, the function calls itself till the base condition is reached whereas iteration means repetition of process for example in for-loops.

Explanation by: Mr. Dubey
in recursion, the function calls itself till the base condition is reached whereas iteration means repetition of process for example in for-loops.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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