以下对枚举类型定义正确的是______。
A: enumnum={one,two,three};
B: enumnum{one=9,two=18,three};
C: enumnum={"one","two","three"};
D: enumnum{"one","two","three"};
A: enumnum={one,two,three};
B: enumnum{one=9,two=18,three};
C: enumnum={"one","two","three"};
D: enumnum{"one","two","three"};
举一反三
- 以下对枚举类型名的定义中正确的是()。 A: enuma={one,two,three}; B: enuma{one=9,two=-1,three}; C: enuma={"one","two","three"}; D: enuma{"one","two","three"};
- 以下对枚举类型名的定义中正确的是____ A: A.enuma={one,two,three} B: B.enuma{one=9,two=-1,three} C: C.enuma={"one","two","three"} D: D.enuma{"one","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: enuma=one,two,three; B: enumaone=9,two=1,three; C: enuma="one","two","three"; D: enuma"one","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"};