Vidyalelo
C Programming · Q25

Control Structures

Programming · C Programming · question 25

Q25

What happens if a 'break' statement is used within a 'switch' statement in C?

A.
It skips the current case and continues to the next case
B.
It exits the 'switch' statement
Answer
C.
It generates a compilation error
D.
It generates a runtime error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board