Q. Which C++ keyword is used to exit from a loop or switch statement?

  • (A) continue
  • (B) break
  • (C) exit
  • (D) return
πŸ’¬ Discuss
βœ… Correct Answer: (B) break
Explanation: The 'break' keyword in C++ is used to exit from a loop or switch statement.
Explanation by: Shiva Ram
The 'break' keyword in C++ is used to exit from a loop or switch statement.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
145
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
85%
Success Rate