Q. Which of these will happen if recursive method does not have a base case?

  • (A) An infinite loop occurs
  • (B) System stops the program after some time
  • (C) After 1000000 calls it will be automatically stopped
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) An infinite loop occurs

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
175
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ravi Shankar
Publisher
πŸ“ˆ
94%
Success Rate