Q. , tot-2)

  • (A) both a() and b() aren’t tail recursive
  • (B) both a() and b() are tail recursive
  • (C) b() is tail recursive but a() isn’t
  • (D) a() is tail recursive but b() isn’t
πŸ’¬ Discuss
βœ… Correct Answer: (C) b() is tail recursive but a() isn’t
Explanation: a recursive function is tail recursive when recursive call is executed by the function in the last.

Explanation by: Mr. Dubey
a recursive function is tail recursive when recursive call is executed by the function in the last.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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