Control Structures MCQs
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 1easy
Which control structure is used to repeatedly execute a block of code in C?
Question 2easy
In C, what is the purpose of the 'break' statement within a loop?
Question 3easy
What is the purpose of the 'else' statement in C's 'if-else' control structure?
Advertisement
Question 4medium
Which control structure is used to make a decision between two or more alternatives in C?
Question 5easy
What is the result of the expression 5 > 3 && 4 < 6 in C?
Question 6medium
In C, what happens if the 'default' case is missing in a 'switch' statement?
Advertisement
Question 7easy
What is the purpose of the 'continue' statement in C?
Question 8hard
How many times will a 'do-while' loop execute its body if the condition is initially false in C?
Question 9easy
What is the result of the expression !(5 == 5) in C?