niusouti.com
参考答案和解析
参考答案:D
更多“He asked who I voted for and I said it was my own ( ).A.thingB.matterC.dutyD.business ”相关问题
  • 第1题:

    It is ______ who ______ wrong.

    A.me; me

    B.me; has

    C.I; am

    D.I; is


    参考答案:C

  • 第2题:

    I( )a cup of coffee, but they gave me a cup of tea.

    A.asked for

    B.asked


    参考答案:A

  • 第3题:

    "Oh, I'm sorry," he ______ her.

    A、cried

    B、told

    C、apologized

    D、said


    参考答案:B

  • 第4题:

    I, my, will, true, come, hope, dream

    __________________________________________________________________________.


    正确答案:
    I hope my dream will come true. / I dream my hope will come true.

  • 第5题:

    Client: Hello. May I speak to Mr. Black?

    Secretary:_______

    A: Speaking, please

    B: I ’m sorry. He ’s at a meeting right now.

    C: Hello. Who ’re you, please?

    D: Hello. Thank you for calling.


    参考答案:B

  • 第6题:

    有以下程序:includeusing namespace std;class MyClass{public: MyClass(); ~MyClass

    有以下程序: #include<iostream> using namespace std; class MyClass { public: MyClass(); ~MyClass(); void SetValue(int val); private: static int i; }; int MyClass::i=0; MyClass::MyClass() { i++; cout<<i; } MyClass::~MyClass() { i--; cout<<i; } void MyClass::SetValue(int val) { i=val; } int main() { MyClass*my[2]; int k; for(k=0;k<2;k++) my[k]=new MyClass; for(k=0;k<2;k++) delete my[k]; return 0; } 运行后的输出结果是( )。

    A.1210

    B.1100

    C.1234

    D.输出结果不确定


    正确答案:A
    解析:类MyClass中变量i是静态数据成员,它被MyClass类的所有对象共享,但它不属于任何一个对象,它的作用域是类范围。程序i是用来统计类MyClass所创建对象的个数,每创建一个对象i加1,每删除MyClass类对象i减1。