以下程序的输出是()。structst{intx;int*y;}*p;intdt[4]={10,20,30,40};structstaa[4]={50,&dt[0],60,&dt[0],60,&dt[0],60,&dt[0]};main(){p=aa; printf("%d\n",++(p->x)); }? 60|10|11|51
举一反三
- 下面程序的输出结果为()structst{intx;int*y;}*p;intdt[4]={10,20,30,40};structstaa[4]={50,&dt[0],60,&dt[1],70,&dt[2],80,&dt[3]};main(){p=aa;printf("%d",++p->x);printf("%d",(++p)->x);printf("%d",++(*p->y));}
- 以下程序的输出结果是( ). 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)); }
- 中国大学MOOC: 以下程序的输出是()。structst{intx;int*y;}*p;intdt[4]={10,20,30,40};structstaa[4]={50,&dt[0],60,&dt[0],60,&dt[0],60,&dt[0]};intmain(){p=aa;printf("%d ",++(p->x));}
- 设有以下程序 struct st { int x; int *y;} ; main() { int a, b, dt[4]={ 10,20,30,40 }; struct st aa[4]={ 50,&dt[0],60,&dt[1],70,&dt[2],80,&dt[3]},*p; p = aa; a = (++p)->x; b= ++(*p->y); } 程序运行后,a=______,b=______。
- 以下程序输出结果是____。struct student{short int x ; short int *y;} *p ;short int dt[4]={ 10 , 20 , 30 , 40 };struct student a[4]={50,&dt[0],60,&dt[1],70 ,&dt[2],80,&dt[3]} ;...p=a;printf("%d ",++p->x); printf("%d ",(++p)->x); printf("%d\n",++(*p->y)); }