A.光纤传输技术
B.路由选择方法
C.无线通信技术
D.流量控制方法
第2题
在下列程序段中,枚举变量 c1的值是()。
enum color { red,yellow,blue=4,green,white}c1; c1=yellow; c1=white;
A 1
B 3
C 5
D 6
第3题
A.1,6
B.2,5
C.1,4
D.2,6
第4题
A.Green,Red
B. Red,Green
C. Red,Blue
D. Green,Blue
第5题
A、blue, yellow and pink
B、blue, green and pink
C、red, green and white
D、yellow, green and white
第6题
以下定义中正确的是( )。
(A)enum color{"red","yellow","blue","white","black"}
(B)enum color{'red','yellow','blue','white','black'}
(C)enum color {red yellow blue white black}
(D)enum color {red=4,yellow,blue=8,white,black}
第7题
A、black and white
B、green and red
C、white and blue
D、yellow and red
第8题
已知枚举类型声明语句为: enumCOLOR{WHITE,YELLOW,GREEN=5,RED,BLACK=10}; 则下列说法中错误的是
A.枚举常量YELLOW的值为1
B.枚举常量RED的值为6
C.枚举常量BLACK的值为10
D.枚举常量WHITE的值为1
第9题
A.yellow; green
B.white; blue
C.red; black
D.red; brown
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!