更多“3. —What’s your favorite_________? —Blue.A. color B. sport C. subject D. day ”相关问题
  • 第1题:

    My opinions are similar to ___.

    A.you

    B.your

    C.yours

    D.your's


    正确答案:C

  • 第2题:

    已知学生记录描述为: struct student { int no; char name[20],sex; struct { int year,month,day; } birth; }; struct student s; 设变量s中的“生日”是“1984年11月12日”,对“birth”正确赋值的程序段是( )。

    A.year=1984;month=11;day=12;

    B.s.year=1984;s.month=11;s.day=12;

    C.birth.year=1984;birth.month=11;birth.day=12;

    D.s.birth.year=1984;s.birth.month=11;s.birth.day=12;


    正确答案:D
    解析:本题考查结构体变量的基本概念。引用结构体成员的方式为:结构体变量名.成员名“.”是“成员运算符”(分量运算符),如果成员本身又是一个结构体类型,则要用若干个成员运算符,一级一级地找到最低一级的成员。只能对最低级的成员进行赋值或存取以及运算,所以选项D)正确。

  • 第3题:

    1.byte day= 2; 2.day=216; 3.上述语句day的值是错的


    Sep. 18, 2019

  • 第4题:

    What's ( )job? Are ( ) British?

    A. your, your

    B. you, your

    C. your, you


    正确答案:C

  • 第5题:

    已知学生记录描述如下,设变量s中的“生日”应是“1984年11月11日”,下列对生日的正确赋值方式是()。 struct student{ int no; char name[20]; char set; struct{ int year; int month; int day; } birth; }; struct student s;

    A.year=1984;month=11;day=11;

    B.birth.year=1984; birth.month=11; birth.day=11

    C.s.year=1984;s.month=11;s.day=11

    D.s.birth.year=1984;s.birth.month=11; s.birth.day=11;


    s.birth.year=1984;s.birth.month=11; s.birth.day=11;