Looking for 1142南山高中資訊科技3 test answers and solutions? Browse our comprehensive collection of verified answers for 1142南山高中資訊科技3 at 103.226.213.97.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
執行下列 C/C++ 的敘述後,b 值為何?
int a[5] = {1, 2, 3, 4, 5}, b;
b = a[2] + a[4];
要計算 100 位同學的總分,使用陣列處理的 C/C++ 程式碼如下。空格 □ 內應填入何值?
for (i = 0; i <= □ ; i++) sum = sum + a[i];
在 C/C++ 中,陣列名稱是代表下列何者?
在 C/C++ 中,執行 int a[5] = { 0 }; 後,a[5] 的值為何?
陣列具有下列何種特性?
在 C/C++ 中,宣告 int a[6] 時,此陣列會用多少 bytes 的記憶體空間?
在 C/C++ 中,若宣告 int a[5] 共有幾個元素?
若 n = 1,執行下列程式碼後,n 值為何? while (n != 6) n = n + 2;
執行下列敘述,那一個 g 值會輸出 good!? if (g >= 90) cout << "good ! ";
若 t = 0,執行下列程式碼後,t 的值為何? for ( i = 0; i <= 5; i++ ) for ( j = 0; j <= 5; j++ ) t++;