A. leaving⋯away
B. leaving⋯behind
C. leave⋯behind
D. leave ⋯away
第1题:
下列程序的输出结果是【 】。
include<iostream. h>
class MyClass
{
public:
int number;
void set(int i);
};
int number=3;
void MyClass: :set (int i)
{
number=i;
}
void main( )
{
MyClass my1;
int number=10;
my1.set(5),
cout<<my1, number<<',';
my1.set(number);
cout<<my1.number<<',';
my1.set(: :number);
cout<<my1.number<<'.';
}
第2题:
类MyClass的定义如下: class MyClass { public: MyClass(){value=0;} SetVariable(int i){value=i;) private: int value; }; 则对下列语句序列正确的描述是( )。
A.MyClass*p,my;p=&my;
B.语句p=&my;是把对象my赋值给指针变量p
C.语句MyClass*p,my;会调用两次类MyClass的构造函数
D.对语句*p.SetV ariable(5)与语句my.SetVariable(5)等价
第3题:
A.http://project-hopE.cydF.gov.cn
B.http://project-hopE.cydF.ac
C.http://project-hopE.cydF.edu.cn
D.http://project-hopE.cydF.com.cn
第4题:
Steer __ (北)!
A.south
B.north
C.east
D.west
第5题:
A.train
B.bus
C.car
D.ship
第6题:
A vessel in distress should send by radio telephone the two tone alarm signal followed immediately by the ______.
A.distress position
B.spoken words “Mayday, Mayday, Mayday”
C.ship’s name
D.ship’s call letters