"The trouble with being the Prime Minister's sister is it puts your life into perspective." is from the movie().A、LoveA、ctuallyB、PocahontasC、TarzanD、Air Force One

题目

"The trouble with being the Prime Minister's sister is it puts your life into perspective." is from the movie().

A、Love

A、ctually

B、Pocahontas

C、Tarzan

D、Air Force One


相似考题
参考答案和解析
参考答案:A
更多“"The trouble with being the Prime Minister's sister is it puts your life into ”相关问题
  • 第1题:

    下列语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。

    A.if(*s1==*s2)

    B.if(!strcmp(s1,s2)) puts("they are Equal"); puts("they are Equal");

    C.if(s1==s2)

    D.if(strcmp(s1,s2)) Puts("they are Equal"); puts("they are Equal");


    正确答案:B
    解析:字符串比较不能用两个等于号(=)来进行比较,应使用函数strcmp(s1,s2)来比较。函数 strcmp(s1,s2)的功能:当字符串s1和s2相等时,返回值为0。因此,当表达式!strcmp(s1,s2)=1时,条件成立,执行后面的语句,输出they are Equal。

  • 第2题:

    下述语句中,在字符串sl和s2相等时显示“they are Equal”的是( )。

    A.if(*s1==*s2) puts("they are Equal");

    B.if(!strcmp(s1,s2)) puts("they are Equal");

    C.if(s1==s2) Puts("they are Equal");

    D.if(strcmp(s1,s2)) puts("they are Equal”);


    正确答案:B
    解析:字符串比较不能用两个等号(==)来进行比较,应使用stremp(s1,s2)函数来比较。strcmp(s1,s2)函数的功能是:当字符串s1和s2相等时,返回值为0,因此,当表达式!strcmp(s1,s2)==1时,条件成立,执行后面的语句,输出they are Equa1。

  • 第3题:

    下述语句中,在字符串s1和s2相等时显示”they are Equal”的是( )。

    A)if(*s1==*s2)

    puts("they are Equal");

    B)if(!strcmp(s1,s2))

    puts("they are Equal");

    C)if(s1=s2)puts(”they are Equal”);

    D)if(strcmp(s1,s2))

    puts(”they are Equal”);


    正确答案:B

  • 第4题:

    下述语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。

    A.if(*s1=*s2) puts("they are Equal");

    B.if(!strcmp(s1,s2)) puts("they are Equal");

    C.if(s1==s2) puts("they are Equal");

    D.if(strcmp(s1,s2)) puts("they are Equal");


    正确答案:B

  • 第5题:

    下列语句中,在字符串s1和s2相等时显示“they are Equal”的是( )。

    A.if(*s1==*s2) puts("they are Equal");

    B.if(!strcmp(s1,s2)) puts("they are Equal");

    C.if(s1==s2) Puts("they are Equal");

    D.if(strcmp(s1,s2)) puts("they are Equal");


    正确答案:B
    解析:字符串比较不能用两个等于号(==)来进行比较,应使用函数strcmp(s1,s2)来比较。函数strcmp(s1,s2)的功能是:当字符串 s1和s2相等时,返回值为0。因此,当表达式!strcmp(s1,s2)=1时,条件成立,执行后面的语句,输出they are Equal。

  • 第6题:

    【单选题】假设char s[20],*ps; ps=s; 则以下输出错误的是?

    A.puts(*ps)

    B.puts(s)

    C.puts(ps)

    D.printf("%s",ps);


    经穴?荥穴?输穴