Solved

If a Break Occurs Within the Innermost Loop of a Nested

Question 2

Multiple Choice

If a break occurs within the innermost loop of a nested loop that is three levels deep


A) when the break is encountered just the innermost loop is "broken"
B) when the break is encountered, all loops are "broken" and execution continues from after the while statement (in our example)
C) when the break is encountered, all but the outermost loops are broken, and execution continues from the next iteration of the while loop (in our example)
D) this is a syntax error unless there are break or continue statements at each loop level
E) none of the above

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents