![](https://lstatic.shangxueba.com/jiandati/pc/images/pc_jdt_tittleico.png)
若有以下说明和语句:struct st{int n;char*ch;}struct st a[3]={5,"abc"7,"def",9",ghk"),*p=a;
若有以下说明和语句: struct st{int n;char*ch;} struct st a[3]={5,"abc"7,"def",9",ghk"),*p=a; 则值为6的表达式是______。
A.p++->n
B.p->n++
C.(*p).n++
D.#NAME?
![](https://lstatic.shangxueba.com/jiandati/pc/images/jdt_panel_vip.png)
若有以下说明和语句: struct st{int n;char*ch;} struct st a[3]={5,"abc"7,"def",9",ghk"),*p=a; 则值为6的表达式是______。
A.p++->n
B.p->n++
C.(*p).n++
D.#NAME?
A.p++->n
B.p->n++
C.(*p).n++
D.++p->n
A.p++->n
B.p->n++
C.(*p).n++
D.++P->n
若有以下说明和定义语句,则变量w在内存中所占的字节数是 【19】 。
union aa {float x; float y; char c[6]; };
struct st{ union aa v; float w[5]; double ave; } w;
若有下列说明和语句,已知int型数据占2个字节,则下列语句的输出结果是()。 struct st { char a[15]; int b; double c; }; printf("%d",sizcof(struct st));
A.15
B.8
C.25
D.2
A.15
B.8
C.25
D.2
A.st.i
B.*p.i
C.(*p).i
D.p->i
A.st.x=10 ;
B.st.s.x=10;
C.struct st a; a.x=10;
D.struct st a={10};
若有以下定义和语句 struct a { int n,m;}; struct a st[3]={{1,20},{2,19},{3,21}}; struct a*p=st; 则以下错误的引用是
A.(p++)->n;
B.st[0].n;
C.(*p).n;
D.p=&st.m;
A.(p++)->n;
B.st[0].n;
C.(*p).n;
D.P=&st.m,
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!