Multiple choice

In which of the following statementsor loops 'continue' statement cannot be used in 'C'?

  1. while statement

  2. do-while statement

  3. for statement

  4. switch statement

  5. Nested for statement

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This is the correct option as 'continue' statement is used to skip the current iteration and continue with the next iteration in a program statement.