【預告】4/1起,頁面上方功能列以及下方資訊全面更換新版。 前往查看

计算机等级考试— 二级—《C语言 》題庫下載題庫

上一題
36)有以下程序 #include int fun() { static int x=1; x+=1; return x; } main() { int i, s=1; for(i=1;i<=5;i++) s+=fun(); printf(“%dn”,s); } 程序运行后的输出结果是
(A)11
(B)21
(C) 6
(D)120


36)有以下程序 #include int fun() { stat..-阿摩線上測驗