Explain “fall through” problem with reference to a switch case statement
Answers
Answered by
24
Answer:
Switch checks the cases and as condition matches it breaks and gives you the output. But if we dont provide the break statement it will fall through every case you have mentioned while break commands restricts going through all the cases when condition has already matched .
I hope it is useful to you
PLEASE MARK ME AS BRAINLEST
AND PLEASE THANK MY ANSWERS
Similar questions