以下对枚举类型名的定义中正确的是 ( )
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"};
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"};
举一反三
- 以下对枚举类型的定义中正确的是() A: enum a={one,two,three}; B: enum a{one,two,three}; C: enum a={“one”,”two”,”three”}; D: enum a{“ one”,”two”,”three”};
- 以下对枚举类型名的定义中正确的是○。 A: enum a={one,two,three}; B: enum a{a1,a2,a3}; C: enum a={′1′,′2′,′3′}; D: enum a{"one","two","three"};
- 以下对枚举类型的定义,正确的是() A: enum a={one,two,three}; B: enum a{a1,a2,a3}; C: enum a{‘1’,’2’,’3’}; D: enum a{ “one”,”two”,”three” };
- 下列对枚举类型的正确定义形式为( ) A: enum a={one,two,three}; B: enum a{one=9,two=-1,three}; C: enum a={"one","two","three"}; D: enum a{"one","two","three"};
- 以下对枚举类型的声明正确的是______________。 A: enum a={one,two,three}; B: enum b {a1,a2,a3}; C: num c={'1','2','3'}; D: enum d {"one","two","three"};