单选题
以下对枚举类型名的定义中正确的是 ( )
A、
enum a={one,two,three};
B、
enum a{one=9,two=-1,three=200};
C、
enum a={"one","two","four"};
D、
enum a{"nine","two","three"};
【正确答案】
B
【答案解析】
提交答案
关闭