语句:针对 Switch 语句的限制Statements: Limits on Switch Statements

ANSI 3.6.4.2 switch 语句中的 case 值的最大数量ANSI 3.6.4.2 The maximum number of case values in a switch statement

Microsoft C 未限制 switch 语句中 case 值的数量。Microsoft C does not limit the number of case values in a switch statement. 该数字仅受可用内存限制。The number is limited only by available memory.

请参阅See Also

实现定义的行为Implementation-Defined Behavior