(37)有以下程序#include <stdio.h>struct ord{ int x y;}dt[2]={1 2 3 4};main(){struct o

计算机 程序, 已帮助 人

(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)4,1

C)3,4

D)2,3

请帮忙给出正确答案和分析,谢谢!

热搜:以下哪个程序是正确的病史采集的程序