皮皮学,免费搜题
登录
搜题
【单选题】
( 38 )有以下定义和语句 struct workers { int numchar name[20]char c struct { int day int month int year } s } struct workers w,*pw pw = &w 能给 w 中 year 成员赋 1980 的语句是
A.
) *pw.year = 198O
B.
) w.year=1980
C.
) pw->year=1980
D.
) w.s.year=1980
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】若有如下程序: sub(int*y) {while(--(*y)); printf('%d',(*y)--);} main() { int x=10; sub(&x); } 则程序运行后的输出结果是【 】。
【单选题】巨幼红细胞贫血常由于
A.
缺铁
B.
缺铁和蛋白质
C.
缺维生素 B 12 或叶酸
D.
缺雄激素
【单选题】若有如下语句: int *pr; int a=10; pr = &a; 下面选项代表地址的是()
A.
a,pr
B.
&a,*pr
C.
&a,pr
D.
a,*pr
【单选题】铝合金定位器使用于( )区段。
A.
(A)120km/h及以下
B.
(B)120~160km/h
C.
(C)160~200km/h
D.
(D)140~160km/h
【单选题】若有如下程序段: #include<iostream> using namespace std int main () { char*p='abcdefgh',*r r=p cout<<*r<<end1 return 0 } 该程序的输出结果是( )。
A.
a
B.
b
C.
c
D.
d
【简答题】若有如下程序: void sub() {static int x=6; x/=2;printf('%d',x); } main() {int m; for(m=0;m<=2;m++) sub(); } 则程序运行后的输出结果是【 】。
【简答题】巨幼红细胞贫血通常是由于机体缺乏()或()所致。
【单选题】具有甜味同时还能预防龋齿的是:( )
A.
麦芽糖
B.
蔗糖
C.
木糖
D.
木糖醇
【简答题】John Pentanol was appointed as risk manager at H&Z Company a year ago and he decided that his first task was to examine the risks that faced the company. He concluded that the company faced three majo...
【单选题】若有如下程序; main() {char a[][9]={'china','Japan','USA','France'}; printf('/'%s/'/n',a[2]); } 则程序运行后的输出结果是( )
A.
'Japan'
B.
'USA'
C.
USA
D.
'inaJapanUSAFrance'
相关题目: