Control Structures MCQs

155 questionsC-ProgramPage 3 of 18

Practice free Control Structures multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 155 questions — no login required.

Question 19easy
What is the result of the expression 2 && 0 in C?
Question 20medium
In C, which statement is used to exit the current iteration of a loop and continue with the next iteration?
Question 21medium
Which control structure is used to execute a block of code repeatedly as long as a condition is true in C?
Advertisement
Question 22easy
What is the purpose of the 'switch' statement in C?
Question 23easy
What is the result of the expression `3 || 0` in C?
Question 24medium
In C, which control structure is used to execute a block of code a specific number of times?
Advertisement
Question 25medium
What happens if a 'break' statement is used within a 'switch' statement in C?
Question 26easy
What is the result of the expression !0 in C?
Question 27medium
Which control structure is used to execute a block of code only if a condition is true in C?