C-Control Instructions Questions and Answers
Practice ModeShowing 10 of 24 questions
Q21
Which is exit-controlled loop?
Answer: Option C
Explanation: Do-while checks condition after execution, making it exit-controlled.
Q22
What is nesting of loops?
Answer: Option B
Explanation: Nesting means placing one loop inside another loop.
Q23
Which statement transfers control to a labeled statement?
Answer: Option C
Explanation: Goto statement transfers control to the specified label.
Q24
What is the purpose of conditional operator (?:) in C?
Answer: Option C
Explanation: Conditional operator provides shorthand for simple if-else statements.