阿摩線上測驗 登入

試題詳解

試卷:98年 - 2009年3月计算机等级考试— 二级—《C语言 》#13771 | 科目:计算机等级考试— 二级—《C语言 》

試卷資訊

試卷名稱:98年 - 2009年3月计算机等级考试— 二级—《C语言 》#13771

年份:98年

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

19)有以下程序 #include Main) {inta=1,b=2,c=3,d=0; ifa==1&&b++==2) ifb!=2||c--!=3) printf“%d,%d,%d\n”,a,b,C; elseprintf“%d,%d,%d\n”,a,b,C; elseprintf“%d,%d,%d\n”,a,b,C;}程序运行后的输出结果是
(A)1,2,3
(B)1,3,2
(C)1,3,3
(D)3,2,1
正確答案:登入後查看