设有如下定义和声明: struct 3 {int a; struct s *next }; struct s x[4]={1,&x[1],3,& x[2],5,&x[3],7,'\0'),*t; t=&x[0]; 则下列表达式值为2的是( )
A.++t->a
B.(*t).a++
C.t->a++
D.t++->a
第1题:
某文本型字段的值只能是字母且不允许超过4个,则可将该字段的输入掩码属性定义为( )。
A.AAAA
B.&;&;&;&;
C.LLLL
D.####
第2题:
设有以下说明,则值为210的表达式是: struct s {int a; int *b;}; int x0[]={110,120},x1[]={210,220}; struct s x[]={{100},{200}}, *p = x; x[0].b = x0; x[1].b = x1;
A.*p->b
B.(p)->a
C.*(p++)->b
D.*(p)->b
第3题:
【填空题】听歌曲填空,并注意填空部分的连读。每空一词。   I lie(1)________ at night see things in black(2)_______ white I’ve only(3)________ you inside my mind You know you have(4)________ me blind I(5)_________ awake and pray (6)________ you will look my way
第4题:
设有以下C语言说明语句,则值为210的表达式是(33)。 struct s { int a;int *b;}; Int x0[]={110,120},x1[]={210,220}; struct s x[]={{100},{200}},*p=x; x[0].b=x0;x[1].b=x1;
A.(++p)->a
B.*p->b
C.*(p++)->b
D.*(++p)->b
第5题:
设有以下说明,则值为210的表达式是: struct s {int a; int *b;}; int x0[]={110,120},x1[]={210,220}; struct s x[]={{100},{200}}, *p = x; x[0].b = x0; x[1].b = x1;
A.*p->b
B.(p)->a
C.*(p++)->b
D.*(p)->b 答案:D