当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

下面程序的输出结果为()。struct st { int x; int*y; } *p; int dt[4]={10,20,30,40}; struct st


下面程序的输出结果为()。struct st { int x; int*y; } *p; int dt[4]={10,20,30,40}; struct st aa[4]={ 50,&dt[0],60,&dt[1], 70,&dt[2],80&dt[3]}; main() { p=aa; printf("%d ",++p->x); printf("%d ",(p)->x); printf("%d ",++(*p->y)); }A.10 B.50 C.51 D.60 20 60 60 70 20 21 21 31

参考答案
您可能感兴趣的试题
  • 以下程序的输出结果是 include struct st { int x;int *y;}*p; int dt[4]={10,2

  • 以下程序的输出结果是 include struct st { int x;int *y;}*p; int dt[4]={10,2

  • 以下程序输出结果是()。 struct stu {int x; int *y; }*p; int dt[4]={10,20,30,40}; struct stu

  • 下面程序运行后的输出结果是()。struct abc{int a,b,c;}main(){struct abc s[2]={{1,2,3},{4,5,6" />