1.

The effective working of the continue keyword in the final iteration is same as the effective working of the break keyword.(a) True(b) FalseThe question was asked in an interview for internship.I'd like to ask this question from More about Loops in chapter MATLAB Programming of MATLAB

Answer»

Correct option is (a) TRUE

The explanation: If the continue statement GETS executed in the final iteration of a loop, the CONTROL breaks the loop. The break statement will exit control IRRESPECTIVE of the number of iterations left and HENCE the above statement is true.



Discussion

No Comment Found

Related InterviewSolutions