struct m { int x; int *y; }*p; int a[4]={12,13,-40,100};struct m b[4]={10,&a[2],9,&a[3],8,&a[0],7,&a[7]};若p=b;printf("%d\n",++p->x);printf("%d\n",p->x);为什么两个输出的都是11?(VC++6.0)
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/11 08:25:59
xݒN@_1ѨKJq;.ąALh FEXh$#^f-+^iF1ՙΙ;Ӑވ6:d֢q&e\Ը}D'DCRN,D4I8ѴSo6eA\^Y!'OtbShDUNo[xoYvBHQS"W5r_}z%_٣Y;i҃-@HB.!V ;j" Fjs̟!ZeBɉLڧECdwjpxi2=ٻ:_ r3D6e%]hBԲ"EV۪k%me^cLOQk&oȑh
^ RLF