Which statement skips the current iteration and moves to the next?
-
A
break
-
B
continue
Correct answer
-
C
pass
-
D
return
Correct answer
B. continue
10 views
Explanation
continue skips the rest of the current iteration. break exits the loop entirely.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ