定义如下枚举类型:enum Number{one=l,tow=2,four=4,eight=8},则下列语句正确的是( )。A.Number num=1;B.Number num=Number(20);C.Number num=Number(eight|0xFF);D.枚举类型Number的取值范围是0~15

定义如下枚举类型:enum Number{one=l,tow=2,four=4,eight=8},则下列语句正确的是( )。

A.Number num=1;

B.Number num=Number(20);

C.Number num=Number(eight|0xFF);

D.枚举类型Number的取值范围是0~15


相关考题:

定义如下枚举类型:enum{Monday, Tuesday, Wednesday, Thrusday, Friday=2};,则下列x语句正确的是( )A.表达式Wednesday==Friday的值是trueB.Day day;day=3C.Day day;day=Monday+3D.Day day;day=Tuesday+10

定义如下枚举类型:enum{Monday,Tuesday,Wednesday,Thmsday,Friday=2);则下列语句正确的是( )。A.表达式Wednesday==Friday的值是trueB.Day day; day=3;C.Day day; day=Monday+3;D.Day day; day=Tuesday+10;

定义如下枚举类型:enum{Monday,Tuesday,Wednesday,Thrusday,Friday=2}:则下列语句正确的是A.表达式Wednesday==Friday的值是trueB.Day day;day=3;C.Day day;day=Monday+3;D.Day day;day=Tuesday+10;

定义如下枚举类型:enum Number{one=1,two=2,four=4,eight=8),则下列语句正确的是( )。A.Number num=1;B.Numbernum=Number(20);C.Number num=Number(eight│OxFF);D.枚举类型Number的取值范围是0~15

定义如下枚举类型:enum Number{one=1,tow=2,four=4,eight=8},则下列语句正确的是( )。A.Number num=1;B.Number num=Number(20);C.Number num=Number(eight|OxFF);D.枚举类型Number的取值范围是0~15

定义如下枚举类型:enum Number{one=1,two=2,four=4,eight=8},则枚举类型Number的取值范围是( )。A.1~8B.0~8C.1~15D.0~15

定义如下枚举类型;enum{ Monday, Tuesday, Wednesday, Thrusday, Friday=2);,则下列语句正确的是( )。A.表达式Wednesday==Friday 的值是trueB.Day day;day=3C.Day day;day=Monday+3D.Day day;day=Tuesday+10

定义如下枚举类型:enum{Monday,Tuesday,Wednesday,Thrusday,Friday=2};则下列语句正确的是( )。A.表达式Wednesday==Friday的值是trueB.Day day;day=3;C.Day day;day=Monday+3;D.Day day;day=Tuesday+10;

定义如下枚举类型:enum Number{one=l,two=2,fomr=4,eight=8},则枚举类型Number的取值范( )。A.1~8B.0~8C.1~15D.0~15