When the
switch statement is executed, its condition is
evaluated
. If one of the case constants has the same value as the condition,
control is passed to the statement following the matched case label
. If
no case constant matches the condition, and if there is a
default label, control passes to the statement labeled by the
default label
. If no case matches and if there is no
default
then none of the statements in the switch is executed
.