一、寫出下面 C 程式的執行結果。(執行結果共有五列輸出,請標明每列輸出的列號與
內容)(20 分)
#include
int x=5;
void f(int x) { printf(“%d
”,x++); }
void g(void) { static int x = 0; printf(“%d
”,x++); }
void main() {
printf(“%d
”,++x);
{ int x = 4; printf(“%d
”,x++); }
g();
f(x);
g();
}
詳解 (共 1 筆)
一起撐住一起上榜
詳解 #6572495
一、C 程式執行結果分析 C ...
(共 1988 字,隱藏中)
前往觀看