A.Beautiful things always can give each other nice impression.
B.The executives in top ranks have great influence on the able persons or talents.
C.Only the famous firms can employ the students in the prestigious universities.
D.The executives can see eye to eye with the president of the famous school.
第1题
设有以下语句
struct st
{
int n;
struct st *next;
};
static struct st a[3]={5,&a[1],7,&a[2],9,'\0'},*p;
p=&a[0];
则以下表达式的值为6的是( )。
A.p++->n B.p->n++ C.(*p).n++ D.++p->n
第2题
设有以下语句 () struct st {int n;struct st * next;}; static struct st a [3]={5,&a [1],7,&a[2],9,'\0'},*p; p=&a[0] 则表达式()的值是6。
A.p+ + ->n
B.p->n + +
C.(* P). n+ +
D.+ +p - >n
第3题
A.++p->n
B.(*p).n++
C.p->n++
D.p++ ->n
第4题
A.p++->n
B.p->n++
C.(*p).n++
D.++p->n
第5题
设有以下程序段:struct st{int n;struct st *next;};static struct st a[3]={5,&a[1],7,&a[2],9,'\0'),*p;p=&a[0];下面选项中,其值为6的表达式为______。
A.P++->n
B.p->n++
C.(*p).n++
D.++p->n
第6题
4.阅读程序,写出程序的运行结果。 void main() { struct st { int n: struct st *next; } a[3]={5,&a[1],7,&a[2],9,&a[0]}, *p=a; int i; for(i=0; i<3; i++) p="p-">next; printf(″p->n=%d\n″, p->n); } 程序的运行结果: ①
第7题
第8题
A.p=&a[0];
B.p=&a[1];
C.p=&a[2];
D.p=&a[3];
第9题
若有以下程序段: struct st {int n; int*m: }; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&B)}; main() {struct st*p; p=s; } 则以下表达式中值为5的是()。
A.(*p).m
B.*(p+1)->m
C.*(p++)->n
D.(p++)(*m)
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!