中国大学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));}
举一反三
- 以下程序的输出是()。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
- What is the output of the following program after executing?#include [stdio.h]struct st {int x;int *y;} *p;int main(){ int dt[4]={10,20,30,40}; struct st aa[4]={ 50,&dt[0],60,&dt[0],60,&dt[0],60,&dt[0]}; p=aa; printf("%d",++(p->x)); return 0;} A: 10 B: 11 C: 51 D: 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
- 以下程序的输出结果是( )。 {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
- 下面程序的输出结果为()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));}