阿摩線上測驗
登入
首頁
>
计算机等级考试— 二级—《C语言 》
>
98年 - 2009年9月计算机等级考试— 二级—《C语言 》#13773
> 試題詳解
試題詳解
試卷:
98年 - 2009年9月计算机等级考试— 二级—《C语言 》#13773 |
科目:
计算机等级考试— 二级—《C语言 》
試卷資訊
試卷名稱:
98年 - 2009年9月计算机等级考试— 二级—《C语言 》#13773
年份:
98年
科目:
计算机等级考试— 二级—《C语言 》
29)有以下程序 #include
main) {inta[]={2,3,5,4},i; fori=0;i<4;i++) switchi%2) {case0:switcha[i]%2) {case0:a[i]++;break; case1:a[i]--; }break; case1:a[i[=0; } fori=0;i<4;i++)printf“%d”,a[i]);printf“\n”); }
(A)3344
(B)2050
(C)3040
(D)0304
正確答案:
登入後查看