struct H {int x;int *y;int xy[2];}void f(struct H*p) {(p+1)->x=1

struct H
{int x;int *y;int xy[2];}
void f(struct H*p)
{(p+1)->x=10;
(*p).x=20;
(*p).y=&((*(p+1)).x);
(*(p+1)).y=&(p->x);
}
main()
{struct H*q=xy;
f(q);
printf("%d,%d\n",*(q->y),*(xy[0].y));
}
【正确答案】:10,10