Study the Assertion and Reason and choose the correct option.
Assertion: The break statement prevents fall through effect in switch case construct.
Reason: The break statement enables unnatural exit from the loop.
- (a)Both Assertion and Reason are true and Reason is the correct explanation for Assertion.
- (b)Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
- (c)Assertion is true and Reason is false.
- (d)Both Assertion and Reason are false.
Show answer
Answer
Correct option: (b)