枚举类型enum Type

ANSI 3.5.2.2 选择用于表示枚举类型的值的整数类型ANSI 3.5.2.2 The integer type chosen to represent the values of an enumeration type

声明为 enum 的变量是 intA variable declared as enum is an int.

另请参阅See Also

结构、联合、枚举和位域Structures, Unions, Enumerations, and Bit Fields