A.技术力量
B.仪器仪表
C.管理水平
D.过去承担类似项目的经历和信誉
E.投标报价
第1题
以下程序的执行结果为【 】。
include<iostream>
using namespace std;
void overload(int num)
{
cout<<num<<end1;
}
void overload(char ch)
{
char c=ch+1;
cout<<c<<end1;
}
int main()
{
overload('X');
return 0;
}
第2题
运行程序,程序输出结果为() #include <iostream> using namespace std; int main() { struct s { int x; } a[3]; cout< <sizeof(a); return 0;> A、4
B、12
C、18
D、6
第3题
以下程序的执行结果是()。 #include <iostream> using namespace std; void main() { int i, sum=0; for(i=1;i<=5;sum++) sum+="i;"> < <endl;> A、6
B、5
C、无限循环
D、0
第4题
以下程序的输出结果是 。 #include <iostream> #include <iomanip> using namespace std; void main() { int i; for (i=1;i>=0;) cout< <i--;>
第5题
下面程序的执行结果是【 】。
include<iostream>
include<iomanip>
using namespace std;
void main()
{
cout<<setfill('x')<<setw(10);
cout<<"Hello"<<endl;
}
第6题
下列程序的运行结果为()。 #include <iostream> using namespace std; namespace m { int flag = 10; } namespace n { flag = 100; } void mian() { int flag = 0; using namespace n; cout<<flag<<","<<m:: flag; }
A.100,10
B.100,0
C.0,100
D.0,10
第7题
若有以下程序:
include <iostream>
using namespace std;
int main()
{
char str[10];
cin>>str;
cout<< str<<end1;
return 0;
}
当输入为:
This is a program!
那么执行程序后的输出结果是【 】。
第8题
下列程序的输出结果为()。 #include (iostream) using namespace std; void main() char,a[ ] = { "hello" ," the" ," world" }; char * * pa = a: pa + +; cout << * pa << ENDL; }
A.hello
B.the
C.world
D.hellotheworld
第9题
下面程序的运行结果为()。 #include <iostream> using namespace std; void main() { for(int a =0,x =0; !x&&a < =10; a ++ ); cout << a << endl;
A.0
B.1
C.10
D.11
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!