It can be learned from the paragraph 2 that after the crisis______.
A.Everything goes as it does before the crisis.
B.Thailand and South Korea have adopted new measures to control the market.
C.All the affected nations are more involved in global economy.
D.The worldwide wave of protectionism may come true one day
第1题
若有如下程序: #include<iostream> using namespace std; Class TestClass1 { private: int a; public: TestClassl(int i) { a=i; } void disp() { cout<<a<<“,”; } }; Class TestClass2 { private: int b; public
A.10,10,10
B.10,12,14
C.8,10,12
D.8,12,10
第2题
若有如下程序段: #include<iostream> using namespace std; int main () { char*p="abcdefgh",*r; r=p; cout<<*r<<end1; return 0; } 该程序的输出结果是()。
A.a
B.b
C.c
D.d
第3题
若有如下程序: #include<iostream> using namespace std; class TestClass { public: void who(){cout<<“TestClass”<<endl;} }; class TestClassl:public TestClass { public: void who(){cout<<“TestClassl”<<endl; int main() { TestC
A.TestClassl
B.TestClass
C.0
D.无输出
第4题
若有以下程序段:
include <iostream>
using namespace std;
int main()
{
char*p="abcdefgh",*r;
long*q;
q=(long*)p;q++;
r=(char*)q;
cout<<r<<end1;
return 0;
}
该程序的输出结果是【 】。
第5题
若有以下程序: #include<iostream> using namespace std; class A {private: int a; public: A(int i) {a=i;} void disp() {cout<<a<<“,”;}}; class B {private: int b; public: B(int j {b=j;} void disp() {cout<<b<<
A.10,10,10
B.10,12,14
C.8,10,12
D.8,12,10
第6题
以下程序的输出结果是 。 #include <iostream> #include <iomanip> using namespace std; void main() { int i; for (i=1;i>=0;) cout< <i--;>
第7题
有如下程序: #include<iostream> using namespace std; Class TestClass {int a; public: TestClass(int x){a=x;} void show(){cout<<a;}}; class TestClass1:public TestClass {int b; public: TestClass1(int i):TestClass(i+1),b(i){} voi
A.5
B.1
C.0
D.2
第8题
请写出如下程序输出的第三行____。 #include <iostream> using namespace std; int main() { const char* name = "****"; for(int i = 1; i <= strlen(name); i++) { cout.write(name, i); 输出name指针指向空间的前i个字符 cout endl; }>
第9题
请问如下程序输出是什么(): #include <iostream> using namespace std; int main() { int i = 0; int &r = i; // r是变量i的引用型变量 cout << ++ i << " " << r++ << ’\n’; }
A、0 2
B、1 2
C、0 1
D、1 1
第10题
若有如下程序: #include <iostream> using namespace std; int main() { char *p="abcdefgh",*r; long *q; q=(long *)p; q++; r=(char *)q; cout<<r<<end1; return 0; } 上述程序的输出结果是()。
A.abcdefgh
B.0
C.abcd
D.efgh
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!