Some of them did not get a chance to see the Olympic flame because of the () changes, but we, indeed, feel their passion for China and the Olympics.A.profitB.suspendC.escapeD.route

题目
Some of them did not get a chance to see the Olympic flame because of the () changes, but we, indeed, feel their passion for China and the Olympics.

A.profit

B.suspend

C.escape

D.route


相似考题
更多“Some of them did not get a chance to see the Olympic flame because of the () changes, but we, indeed, feel their passion for China and the Olympics. ”相关问题
  • 第1题:

    下列语句组中,正确的是

    A.char*s;s="Olympic";

    B.char s[7];s="Olympic";

    C.char*s;s={"Olympic"};

    D.char s[7];s={"Olympic"};


    正确答案:A
    解析:若s被定义为指针,选项A表示将指针s指向一个字符串,选项C表示为指针s赋一个字符串的值,显然选项A正确,选项C错误;若s被定义为数组,且要为该数组直接赋值,则必须在定义时进行,因此选项B和选项D都错误。

  • 第2题:

    下列语句组中,正确的是( )。

    A.char*s;s=”Olympic”;

    B.char s[7];s=”Olympic”;

    C.char*s;s={¨Olympic”};

    D.char s[7];s={"Olympic”};


    正确答案:A
    字符型指针变量可以用选项A的赋值方法:char$s;s=”Olympic”,选项C的写法:char$s。s={¨Olympic”};是错误的。字符数组可以在定义的时候初始化:chars[]={¨Olympic”};?或者chars[]=”Olympic”,都是正确的。但是不可以在定义字符数组后,对数组名赋值。(数组名是常量,代表数组首地址)所以选项8和选项D都是错误的。对于本例,选项B、D中字符数组s的大小至少为8,才能存放下字符串。(字符串的末尾都有结束标识‘、0’)。

  • 第3题:

    如果想在“必应”搜索引擎里查找Olympic方面的课件,需要在搜索栏中输入以下哪个选项的内容?

    A.filetype:ppt “Olympic”

    B.filetype:ppt“Olympic”

    C.pptfile: “Olympic”

    D.fileppt: type “Olympic”


    A

  • 第4题:

    下列语句组中,正确的是( )。

    A.char*s;s="Olympic";

    B.char sE73;s="Olympic";

    C.char*S;s={¨Olympic"};

    D.char sET3;s={"Olympic"};


    正确答案:A
    给字符串数组赋值时,要先定义数组长度,然后再赋值。可以只给部分元素赋初值,当中值的个数少于元素个数时,只给前面部分元素赋值。数组的下标是从0开始的,所以s[7]代表从s[0]到s[6]七个元素。其格式可以写成:char数组名[常量]={字符,字符,…);,也可写为char数组名[常量]={"字符串"};,或去掉{)写为:char数组名[常量]="字符串"。所以本题应选择A选项。

  • 第5题:

    下列语句组中,不正确的是( )。

    A)char*s;s-"Olympic";

    B)char s口="Olympic";

    C)char*s;s={"Olympic"};

    D)char s口={"Olympic"};


    正确答案:C