Quantcast
Viewing all articles
Browse latest Browse all 9

Answer by Shoe for switch-case statement without break

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