有以下程序
struct st
{ int x;
int*y;
} *p;
int dt[4]={1,2,3,4};
struct st aa[4]={10,&dt[0],20,&dt[1],30,&dt[2],40,&dt[3]};
main()
{ p=aa;
printf("%d\n",++p->x);
printf("%d\n",(++p)->x);
printf("%d\n",++(*p->y));
}
程序的运行结果是
订单号:
遇到问题请联系在线客服
订单号:
遇到问题请联系在线客服