1.

In nested loops, the break statement, if present within a nested if the structure, will exit the _______(a) Ongoing if structure(b) Entire loop(c) Ongoing loop(d) Entire if structureThe question was posed to me in an international level competition.I'd like to ask this question from More about Loops topic in division MATLAB Programming of MATLAB

Answer»

The CORRECT answer is (b) Entire loop

For EXPLANATION: The BREAK STATEMENT will exit the loop where the break statement is PRESENT. It won’t take control out of the external loop.



Discussion

No Comment Found

Related InterviewSolutions