全域變數可以宣告在所有的函式之外,可以被其以下的函式所使用 ... using namespace std; int test(int b) { ... 4: cout << “a=” << main::a << endl;(印出main::a).
確定! 回上一頁