Bird
0
0

Which of the following is the correct syntax to use continue inside a for loop in C?

easy📝 Syntax Q12 of 15
C - Loop Control Statements
Which of the following is the correct syntax to use continue inside a for loop in C?
Acontinue;
Bcontinue()
Ccontinue{}
Dcontinue[]
Step-by-Step Solution
Solution:
  1. Step 1: Recall correct statement syntax

    In C, continue is a statement and must end with a semicolon.
  2. Step 2: Identify valid syntax

    Only continue; is valid; parentheses, braces, or brackets are incorrect.
  3. Final Answer:

    continue; -> Option A
  4. Quick Check:

    Statement ends with semicolon [OK]
Quick Trick: Statements end with semicolon; continue is no exception [OK]
Common Mistakes:
  • Adding parentheses after continue
  • Using braces or brackets with continue
  • Omitting the semicolon

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More C Quizzes