Q. Which of these is an exit-controlled loop?

  • (A) for
  • (B) if
  • (C) do....while
  • (D) while
πŸ’¬ Discuss
βœ… Correct Answer: (C) do....while
Explanation: The do...while loop check for a condition after executing the loop block once. Hence, it is called an exit-controlled loop.
Explanation by: Chandani
The do...while loop check for a condition after executing the loop block once. Hence, it is called an exit-controlled loop.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
239
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
96%
Success Rate