A

Admin • 833K Points
Coach

Q. Which of the following is used to terminate a loop prematurely in C++?

  • (A) break
  • (B) continue
  • (C) exit
  • (D) return
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

The 'break' statement is used to terminate a loop before its normal completion.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.