以下C++代码的运行输出结果依次为?
#include <iostream>
using namespace std;
int g_a = 100;
void test() {
int g_a = 200;
{
int g_a = 300;
cout << g_a << endl;
}
cout << g_a << endl;
}
int main() {
test();
cout << g_a << endl;
return 0;
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析