The continue statement in a loop:
-
A
exits the loop entirely at once and moves on
-
B
jumps to the end of the current function call body
-
C
resets the loop counter back to zero again
-
D
skips the remaining statements of the current iteration
Correct answer
Correct answer
D. skips the remaining statements of the current iteration
13 views
Explanation
continue jumps to the loop's next iteration without executing the remaining body.
Reference
Asked in: NTS, PPSC IT, Campus Interviews
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ