g4-04093.in
g4-04093.out
下面程序执行后输出 2010。
2010
int x = 10; void f() { int x = 20; cout << x; } int main() { f(); cout << x; }