(37)有以下程序#include struct ord{ int x,y;} dt[2]={1,2,3,4};main(){ struct ord *p=dt
(37)有以下程序
#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);
}
程序的运行结果是
A)1,2 B)2,3 C)3,4 D)4,1
正确答案:B
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。