#include struct ord{ int x,y;} dt[2]={1,2,3,4};main(){ struct ord *p=dt;printf (“%d,”,++p->x); printf(“%d\n”,++p->y);}++p->x 如果就p->x

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/27 20:15:35
#include struct ord{ int x,y;} dt[2]={1,2,3,4};main(){ struct ord *p=dt;printf (“%d,”,++p->x); printf(“%d\n”,++p->y);}++p->x 如果就p->x

#include struct ord{ int x,y;} dt[2]={1,2,3,4};main(){ struct ord *p=dt;printf (“%d,”,++p->x); printf(“%d\n”,++p->y);}++p->x 如果就p->x
#include
struct ord
{ int x,y;} dt[2]={1,2,3,4};
main()
{ struct ord *p=dt;
printf (“%d,”,++p->x); printf(“%d\n”,++p->y);
}
++p->x 如果就p->x

#include struct ord{ int x,y;} dt[2]={1,2,3,4};main(){ struct ord *p=dt;printf (“%d,”,++p->x); printf(“%d\n”,++p->y);}++p->x 如果就p->x
直到x所取的最大值