A.10
B.11
C.20
D.21
[单选题]有以下程序}struct s{ int x,y; } data[2]={10,100,20,200};}main( )}{ struct s *p=data;}printf("%d/n",++(p->x));}程序运行后的输出结果是A.10B.11C.20D.21
[单选题]有以下程序 struct s {int x,y;}data[2]={10,100,20,200}; main() { struct s*p=data; printf("%d/n",++(p->x)); } 程序运行后的输出结果是A.10B.11C.20D.21
[单选题]有以下程序段 struct st {int x;int *y;}*pt; int a[]={1,2},b[]={3,4}; struct st c[2]={10,a,20,b}; pt=c; 以下选项中表达式的值为11的是______。A.*pt->yB.pt->xC.++pt->xD.(pt++)->x
[单选题]有以下程序段struct st{int x;int *y;)*pt;int a[]={l,2},b[]={3,4};struct st c[2]={10,a,20,b};pt=c;以下选项中表达式的值为 11 的是A.)*pt->yB.)pt->xC.)++pt->xD.)(pt++)->x
[单选题]有以下程序段: struct st { int x; int * y; } * pt; int a[] = {1,2} ,b[] = {3,4}; struct st c[2] = {10,a,20,b}; pt=c; 以下选项中表达式的值为11的是( )。A.*pt->yB.pt->xC.++pt->xD.(pt++)->x
[单选题]有以下程序:includevoid main(){int x=10,y=10;for(int i=0;x>8;y=£«£«i)cout<
[单选题]有以下程序 include struct st { int x,y;} data[2]={1,10,2,20}; main(有以下程序 #include <stdio.h> struct st { int x,y;} data[2]={1,10,2,20}; main() { struct st *p=data; printf("%d,",p->y); printf("%d/n",(++p)->x); } 程序的运行结果是______。A.10,1B.20,1C.10,2D.20,2
[单选题]有以下程序 include struct st { int x,y;} data[2]={1,10,2,20}; main(有以下程序 #include <stdio.h> struct st { int x,y;} data[2]={1,10,2,20}; main() { struct st *p=data; printf("%d,",p->y); printf("%d/n",(++p)->x); } 程序的运行结果是______。A.10,1B.20,1C.10,2D.20,2
[单选题]若有如下语句: struct a {char x[10] int y; }s,*t; t=&s; 则对结构体变量s中的成员y的正确引用是( )A.a.y;B.t->y;C.t.y,D.*t->y;
[单选题]有以下程序:#include