1. 程式人生 > >C語言第八週作業+實驗 總結報告 17/11/06

C語言第八週作業+實驗 總結報告 17/11/06

錯題
1.
若有int ⅰ=10, j=0;則執行完下面的語句後ⅰ的值為11。

if (j == 0)
ⅰ++;
else
ⅰ–;

答案:F

2.
下面的這個迴圈的迴圈次數是( )。 (2分)
for(int i=0,j=10; i=j=10; i++,j–)
A 語法錯誤,不能執行
B 無限次
C 10
D 1

答案:B

3.HOW ARE YOU程式

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include