Infomax Computer Academy
Report Bug
Qus : What happens if you use a break statement inside a nested loop?
QusWhat happens if you use a break statement inside a nested loop?
A. It breaks out of both loops.
B. It only breaks out of the innermost loop.
C. It causes a compile-time error.
D. It stops the program.
Solution
B. It only breaks out of the innermost loop.
Report Bug
Select Reason
Wrong Question
Wrong Translation
Out of Topic
Wrong Answer
Question and Option not visible
Formatting Issues
Hindi Version Not Available
Explanation Required
Others