Match the following with respect to the jump statements : List-I
Match the following with respect to the jump statements :
List-I
(A) Return
(B) Goto
(C) Break
(D) Continue
List-II
(i) The conditional test and increment portions
(ii) A value associated with it
(iii) Requires a label for operation
(iv) An exit from only the innermost loop
Codes : A B C D
Show answerHide answer
Correct answer: (A) ii iii iv i
Explanation
Return : returns a value associated with it after completion of the function body. goto : control jumps from one statement to another by following the label. break : exits only from the innermost loop in which it appears. continue : skips the rest of the loop body and passes control to the conditional test and increment portions of the loop. So A-ii, B-iii, C-iv, D-i, i.e. option (a).