When the break statement is encountered inside a loop, which one of the following occurs?

1.4 When the break statement is encountered inside a loop, which one of the following
occurs?
A) control goes to the end of the program
B) control leaves the function that contains the loop
C) causes an exit from the innermost loop containing it
D) causes an exit from all the nested loop

Leave a Reply