niusouti.com
更多“How about going to the cinema?().A、 Enjoy yourself!B、 Good luck!C、 Sounds like a good i ”相关问题
  • 第1题:

    下面程序输出的结果是()。includeusing namespace std;void main(){ char ch[][8]={"g

    下面程序输出的结果是( )。 #include<iostream> using namespace std; void main() { char ch[][8]={"good","better","best"}; for(int i=1;i<3;++i) { cout<<ch[i]<<endl; } }

    A.good better

    B.better best

    C.good best

    D.good


    正确答案:B
    解析:二维数组ch共3行8列,for循环语句输出第2、3行的数组元素

  • 第2题:

    以下能正确进行字符串赋值、赋初值的语句是______。

    A.char s[5]:{'a','e','i','o','u'};

    B.char *s; s="good";

    C.char s[5]="good";

    D.char s[5]; s="good";


    正确答案:C

  • 第3题:

    ――I've got your invitation.Oh,good.――____

    A.Can you come?
    B.Thanks a lo
    C.I'll take i
    D.May I help you?

    答案:A
    解析:
    暂无解析

  • 第4题:

    执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$&b $

    A.Goodaftenoon GoodAfternoon

    B.Good+ GoodAfternoon

    C.Good+ Good&Afternoon

    D.Good Good&


    正确答案:A
    解析:字符串的运算符有“&”,表示将两个字符串连接在一起,“+”也可以起到相同的作用,但为了使程序严谨并提高可读性,一般不使用“+”。

  • 第5题:

    6.I had a __________ sleep last night. Did you sleep ___________,Mary?

    A.good , well B.well, good

    C.well ,well

    D.good ,good


    正确答案:A

  • 第6题:

    3. Good. I'll _________ (有空)then.


    B