A37081. 有如下程序:#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));}程序运行后的输出成果是( )
单选题
困难
知识点
题目描述
有如下程序:
#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));
}
程序运行后的输出成果是( )
选项(单选)
答案解析
详细答案解析为会员权益,按每日次数查看。
开通 / 升级会员
上一题
下一题