Question: When break is used inside two nested for loops, does control come out of the inner for loop or the outer for loop?
- It breaks from only the outer loop.
- It breaks from all loops.
- It breaks from only the inner loop.
- It breaks from the outer loop after the second iteration.
Answer: The correct answer of the above question is Option C:It breaks from only the inner loop.