网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

以下程序的输出结果是( )。 {int x;int*y;}*p; int dt[4]={1,2,3,4}; struct st aa[4]={2,&dt[0],3,&dt[0],4,&dt[0],5,&dt[0],}; {p=aa; pfintf("%d\n",++(p->x)); }

A.1

B.2

C.3

D.4


参考答案

更多 “ 以下程序的输出结果是( )。 {int x;int*y;}*p; int dt[4]={1,2,3,4}; struct st aa[4]={2,dt[0],3,dt[0],4,dt[0],5,dt[0],}; {p=aa; pfintf("%d\n",++(p->x)); }A.1B.2C.3D.4 ” 相关考题
考题 以下程序的输出结果是#includestdio.hstruct st{ int x;int *y;}*p;int dt[4]={10,20,30,40};struct st aa[4]={50,dt[0],60,dt[0],60,dt[0],60,dt[0],};main(){ p=aa;printf("%d\n",++(p-x));}A.10B.11C.51D.60

考题 以下程序的输出是( )。 struct st { int x;int *y; } *p; int dt[4]={10,20,30,40}; struct st aa[4]= {50,dt[0],60,dt[1],70,dt[2],80,dt[3]}; main() { p=aa; cout<<++p->x; cout<<(++p)->x; cout<<++(*p->y); }A.10 20 20B.50 60 21C.51 60 21D.60 70 31

考题 以下程序的输出是______。 struct st {int x;int*y; }*p; int dt[4]={10,20,30,40}; struct st aa[4]={50,dt[0],60,dt[1],60,dt[2],60,dt[3]}; main() { p=aa; printf("%d\n",++(p->X)); }A.51B.11C.50D.60

考题 下列程序的输出结果是______。struct st{ int x;int*y;}*p; int dt[4]={ 10,20,30,40 }; struct st aa[4]={50,dt[0],60,dt[0],60,dr[0],60,dr[0],} main(){ p=aa; printf("%d\n",++(p->x));}A.51B.11C.10D.60

考题 下面程序的输出结果为( )。 struct st {int x;int *y;}*p; int dt[4]={10,20,30,40); struct st aa[4]={50,dt[0],60,dt[1],70,dt[2],80,dt[3]}; main() { p=aa; printf("%d\n",++p->x); printf("%d|n",(++p)->x); printf("%d\n",++(*p->y)); }A.10 20 20B.50 60 21C.51 60 21D.60 70 31

考题 以下程序的输出是( )。 struct st { int x;int *y; } *p; int dt[4]={10,20,30,40}; struct st aa[4]={50,dt[0],60,dt[0],60,dt[0],60,dt[0],}; main() { p=aa; cout<+<+(p->x); }A.10B.11C.51D.60

考题 以下程序的输出结果是includestruct st{ int x;int *y;}*p;int dt[4]={10,20,30,40};s 以下程序的输出结果是 #include<stdio.h> struct st { int x;int *y;}*p; int dt[4]={10,20,30,40}; struct st aa[4]={50,dt[0],60,dt[0],60,dt[0],60,dt[0],}; main() { p=aa; printf("%d\n",++(p->x));}A.10B.11C.51D.60

考题 以下程序的输出结果是()。includestruct st{int x;int*y;}*p; int dt[4] ={ 10,20,30,4 以下程序的输出结果是( )。 #include<stdio.h> struct st { int x; int *y;} *p; int dt[4] ={ 10,20,30,40 }; struct st aa[4]={ 50,dt[0],60,dt[0],60,dt[0],60,dt[0]}; main() { p=aa; printf("%d\n",++(p->x)); }A.10B.11C.51D.60

考题 以下程序的输出结果是 ( ) struct st { int x; int * y;} * p; int dt[4]={10,20,30,40}; struct st aa[4]={50,dt[0],60, dt[0],60 dt[0],60,dt [0]}; main( ) { p=aa; printf("%d\n",+ +(p->x)); }A.10B.11C.51D.60