Vidyalelo
C Programming · Q13

Control Structures

Programming · C Programming · question 13

Q13

In C, what happens if the 'break' statement is used outside of a loop or switch statement?

A.
It has no effect
B.
It generates a compilation error
Answer
C.
It exits the program
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