#include<stdio.h> struct ord{ int x,y; }dt[2]={1,3,5,7}; int main(){ struct ord *p=dt; printf("\n%d,%d\n",p->x,p->y); printf("%d,%d,%d,%d",p->y,++p->x,++p->y,p->x); }
请问为什么第二个输出语句里,p->y的值是4而不是3?
收起
++p->y这不是在自增吗
报告相同问题?