Quantcast
Channel: switch-case statement without break - Stack Overflow
Viewing all articles
Browse latest Browse all 9

Answer by Shoe for switch-case statement without break

$
0
0

You execute everything starting from the selected case up until you see a break or the switch statement ends. So it might be that only C is executed, or B and then C, or A and B and C, but never A and C


Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>