单选题 C语言
题号 #143210

有以下程序
#include<stdio.h>
struct tt
{
int x; struct tt *y;
}*p;
struct tt a[4]={20,a+1,15,a+2,30,a+3,17,a};
main()
{
int I;
p=a;
for(i=1;i<=2;i++) printf(“%d”,p->x); p=p->y;
}
程序的运行结果是(   )。

进入在线模考

参考答案

D

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考