阿摩線上測驗 登入

試題詳解

試卷:96年 - 2007年9月计算机等级考试— 二级—《C语言 》#13780 | 科目:计算机等级考试— 二级—《C语言 》

試卷資訊

試卷名稱:96年 - 2007年9月计算机等级考试— 二级—《C语言 》#13780

年份:96年

科目:计算机等级考试— 二级—《C语言 》

45)有以下程序 #include structtt {intx;structtt*y;}*p; structtta[4]={20,a+1,15,a+2,30,a+3,17,a}; main) {inti; p=a; fori=1;i<=2;i++){printf"%d,",p->x);p=p->y;}}程序的运行结果是
(A)20,30,
(B)30,17
(C)15,30,
(D)20,15,
正確答案:登入後查看