The C Programming Language书中3.4 Switch 开头这么写到:
3.4 Switch
The switch statement is a multi-way decision that tests whether an expression matches one of a number of constant integer values, and branches accordingly.
switch (expression) {
case const-expr: statements
case const-expr: statements
default: statements
}
_Each case is labeled by one or more integer-valued constants or constant expressions. _If a case matches the expression value, execution starts at that case. All case expressions must be different. The case labeled default is executed if none of the other cases are satisfied. A default is optional; if it isn't there and if none of the cases match, no action at all takes place. Cases and the default clause can occur in any order.
我不明白,就粗斜体部分,每一个标签应该只是一个整型常量值或者整型表达式。书上为什么写 one or more,意思是每个case标签也可以是多个整型常量值或整型表达式???