A

Admin • 833.24K Points
Coach

Q. What does the 'break' statement do?

  • (A) Skips to the next iteration
  • (B) Exits the current loop or switch
  • (C) Stops the program
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

'break' exits the nearest enclosing loop or switch statement.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.