--:--









Quiz for break and continue

Course: C Language | Subject: Unit 3 | Topic: Control Statements



Logo

Q1: Which keyword immediately terminates the loop in C?

Logo

Q2: What does the continue statement do in a loop?

Logo

Q3: Which statement is used to exit from a switch-case block?

Logo

Q4: In a nested loop, break will terminate which loop?

Logo

Q5: continue statement can be used in which loop type?

Logo

Q6: If continue is executed in a while loop, control transfers to:

Logo

Q7: Which is true about break in switch-case?

Logo

Q8: continue is mainly used for:

Logo

Q9: What will happen if we omit break in switch-case?

Logo

Q10: break can be used inside:

Logo

Q11: continue inside for loop transfers control to:

Logo

Q12: break can be used to exit:

Logo

Q13: Can continue be used in switch directly?

Logo

Q14: continue in do-while loop transfers control to:

Logo

Q15: break is used to:

Logo

Q16: continue is skipped if:

Logo

Q17: break inside nested switch terminates:

Logo

Q18: Which is more useful for skipping iteration?

Logo

Q19: What will happen if break is used in an if block outside loop?

Logo

Q20: continue in infinite loop:

Are you ready to start test? Set your time limit