单选题 难度 3
三个同名的 x。
下面代码的输出是( )。 int x = 1; // 全局 int main() { int x = 2; // 局部 { int x = 3; cout << x; } // 块内 cout << x << ::x << endl; }