Question 1 out of 3

    What is the purpose of the 'break' statement in programming?

    To exit a loop or switch statement

    The 'break' statement is used to exit a loop or switch statement prematurely.