以下C++程序的输出结果是?
#include<iostream>
using namespace std;
int func();
int main()
{
int i=2;
cout<<i<<endl;
for(int x=0;x<1;x++)
{
int i=10;
cout<<i<<endl;
}
i=i+1;
cout<<i<<endl;
{
i=i*i;
cout<<i<<endl;
}
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析