全部题库 / C语言 / 试题详情
单选题 C语言
2018-02-01

有以下程序
struct ord
{ int x,y;}dt[2]={2,4,6,8};
main(  )
{
struct ord *p=dt;
printf("%d,",++(p->x)); printf("%d\n",++(p->y));
}
程序运行后的输出结果是(  )

A.3,5             
B.7,2         
C.5,7          
D.4,5

参考答案

D

答案解析

暂无解析