问题详情

(37)有以下程序

#include <stdio.h>

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

参考答案
您可能感兴趣的试题