以下对枚举类型名的定义中正确的是______。A.enum a={one,two,three};B.enum a {one=9,two=1,thre
以下对枚举类型名的定义中正确的是______。
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 a {one=9,two=1,three};
C.enum a={"one","two","three"};
D.enum a{"one","two","three"};
第1题
A.enum a={one,two,three};
B.enum a{on=9,two=-1,three};
C.enum a={"one","two","three"};
D.enum a{"one","two","three"};
第2题
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"};
第3题
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"};
第4题
A.枚举类型成员的值可以为负数
B.枚举类型的几个是连续的整数
C.枚举类型的第一成员的值一定是0
D.枚举类型成员值的类型一定是长整型
第5题
A.Type
B.Enum
C.Public
D.Dim
第6题
A.4
B.7
C.102
D.103
第7题
A.枚举常量NAME的值为1
B.枚举常量NUMBER的值为1
C.枚举常量MINUS的值为6
D.枚举常量PRINT的值为10
第8题
A.4
B.7
C.12
D.13
第9题
A.在定义枚举类型时,至少要为其中的一个枚举成员赋一个常量值
B.在定义枚举类型时,直接为某个枚举成员赋值,则其他枚举成员依次取值
C.在把一个枚举成员的值赋给另一个枚举成员时,可以不考虑它们在代码中出现的顺序
D.在 定义的一个枚举类型中,任何两个枚举成员都不能具有相同的常量值