Statements: Limits on Switch Statements
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Statements: Limits on Switch Statements.
ANSI 3.6.4.2** The maximum number of case values in a switch statement
Microsoft C does not limit the number of case values in a switch statement. The number is limited only by available memory.
Show: