更多“At today's Holiday Inn, you'll be sure to find a convenient location offering ”相关问题
  • 第1题:

    You'll _________ have your own room.

    A、all

    B、each

    C、both


    参考答案:B

  • 第2题:

    Don't run so much. You'll ____ yourself before the game begins.

    A.exhaust

    B.exaggerate

    C.consume

    D.constrain


    参考答案:A

  • 第3题:

    5.—Can you go to the mall with me this afternoon?

    —_______

    A. Sorry,l’d not here

    B. Sure,l-d love to

    C. Sorry,l can

    D. Yes,I’ll


    正确答案:B

  • 第4题:

    Will you show me how to use this software?()

    A. Sure. You'll master it in no time.

    B. You are welcome.

    C. Sorry, I'm too late for it.


    参考答案:A

  • 第5题:

    有如下程序段#include "stdio.h"#include "string.h"#define N 10#define M 10char *find(char(*a)[M],int n){ char *q;int i; q=a[0]; for(i=0;i<n;i++) if(strcmp(a[i],q)<0)q=a[i]; return q;}main(){ char s[N][M]={"tomeetme","you","and","he","china"}; char *p; int n=5; p=find(s,n); puts(p);}则执行后输出的结果为A.he B.and C.you D.tomeetme


    正确答案:B
    在本题中,首先定义了两个宏N和M,大小都为10,然后定义了一个返回指针的函数find,该函数带有两个形参,第一个为字符型的指针数组,第二个为整型变量,在函数体中,首先定义了一个指针变量q,并将形参中指针数组的第一个元素赋值给q,然后执行for循环,在循环体中,首先执行条件判断语句,其条件为strcmp(a[i],q)<0(strcmp函数的作用是比较两字符串的大小,如果相等,则返回0值,如果参数中的第一个字符串大,则返回正值,否则返回负值),如果结果为真,说明指针数组当前元素所指向的字符串比q所指向的字符串小,此时,程序执行将当前指针数组元素赋值给p,最后返回p,通过上面的分析我们可以看出,find函数的作用是找出指针数组中各元素所指向字符串的最小字符串。
    在主函数中,定义了一个二维数组s,并赋了初值,然后定义一个指针变量p,用来存放函数find的返回值。调用函数find的参数分别为s和5,结合形参看find函数,不难知道调用find函数就是找出二维数组s中各字符串中最小的字符串,那么应该为and。此时,指针变量p指向字符串“and”的首地址,然后执行puts(p),完成该字符串的输出。因此,本题正确的答案是B。

  • 第6题:

    I′m sorry I can′t see you immediately;but if you′d like to take a seat,I′ll?be with?you__________.

    A.for a moment
    B.in a moment
    C.for the moment
    D.at the moment

    答案:B
    解析:
    【考情点拨】考查词组词义辨析。【应试指导】句意:对不起,我不能马上见你;但是如果你坐下来等我的话,我过一会儿就可以。for a moment一会儿(表示时间段);in a moment过一会儿:for the moment暂时;at the moment此时,此刻。