• 2022-06-14 问题

    有如下定义:struct date{ int year;int month;int day;};struct worklist {char name[20];char sex;struct birthday;} person;对结构体变量person的出生月份进行赋值时,下面正确的赋值语句是______。 A: person=10; B: person.birthday=10; C: person.birthday.month=10; D: month=10;

    有如下定义:struct date{ int year;int month;int day;};struct worklist {char name[20];char sex;struct birthday;} person;对结构体变量person的出生月份进行赋值时,下面正确的赋值语句是______。 A: person=10; B: person.birthday=10; C: person.birthday.month=10; D: month=10;

  • 2022-06-17 问题

    定义如下结构体来描述一个人的基本情况: struct date {int year; int month; int day; }; struct person {char name[20]; char sex; struct date birthday; }man;如果某人的生日是1988年10月9日,下列对生日的正确赋值是 。 A: man·birthday·year=1988 man·birthday·.month=10 man·birthday·day=9 B: birthday·year=1988birthday·month=10birthday·day=9 C: man·year=1988man·month=10man·day=9 D: year=1988 month=10 day=9

    定义如下结构体来描述一个人的基本情况: struct date {int year; int month; int day; }; struct person {char name[20]; char sex; struct date birthday; }man;如果某人的生日是1988年10月9日,下列对生日的正确赋值是 。 A: man·birthday·year=1988 man·birthday·.month=10 man·birthday·day=9 B: birthday·year=1988birthday·month=10birthday·day=9 C: man·year=1988man·month=10man·day=9 D: year=1988 month=10 day=9

  • 2022-10-27 问题

    程序:class Birthday{int year;int month;int day;public Birthday(int year,int month,int day){year = year; month = month; day = day;}public static void main(String[] args){Birthday birth = new Birthday(1980,10,22); System.out.println(year);}}程序运行后的输出是哪项? A: 1980 B: 10 C: 22 D: 0 E: 编译出错

    程序:class Birthday{int year;int month;int day;public Birthday(int year,int month,int day){year = year; month = month; day = day;}public static void main(String[] args){Birthday birth = new Birthday(1980,10,22); System.out.println(year);}}程序运行后的输出是哪项? A: 1980 B: 10 C: 22 D: 0 E: 编译出错

  • 2022-05-26 问题

    中国大学MOOC: struct date{ int year,month,day; };struct worklist{ char sex; struct date birthday; }person;对结构体变量 person 的出生年份进行赋值时,下面正确的赋值语句是 。

    中国大学MOOC: struct date{ int year,month,day; };struct worklist{ char sex; struct date birthday; }person;对结构体变量 person 的出生年份进行赋值时,下面正确的赋值语句是 。

  • 2022-05-26 问题

    中国大学MOOC: 有如下定义:struct date { int year, month, day; };struct worklist { char name[20]; char sex; date birthday; }person;对结构体变量person的出生年份进行赋值时,下面正确的赋值语句是( )。

    中国大学MOOC: 有如下定义:struct date { int year, month, day; };struct worklist { char name[20]; char sex; date birthday; }person;对结构体变量person的出生年份进行赋值时,下面正确的赋值语句是( )。

  • 2022-06-14 问题

    设有一结构体类型变量定义如下: struct date { int year; int month; int day; } struct worklist { char name[20]; char sex; struct date birthday; }person; 若要对person的出生年份进行赋值,则以下语句正确的是

    设有一结构体类型变量定义如下: struct date { int year; int month; int day; } struct worklist { char name[20]; char sex; struct date birthday; }person; 若要对person的出生年份进行赋值,则以下语句正确的是

  • 2021-04-14 问题

    设有一结构体类型变量定义如下: struct date { int year; int month; int day; }; struct worklist { char name[20]; char sex; struct date birthday; } person; 若对结构体变量person的出生年份进行赋值时,下面正确的赋值语句是

    设有一结构体类型变量定义如下: struct date { int year; int month; int day; }; struct worklist { char name[20]; char sex; struct date birthday; } person; 若对结构体变量person的出生年份进行赋值时,下面正确的赋值语句是

  • 2022-05-26 问题

    有如下定义: struct date{ int year,month,day; };struct worklist{ char sex; struct date birthday; }person;对结构体变量 person 的出生年份进行赋值时,下面正确的赋值语句是 。 A: person.birthday.year=2014 B: year=2014 C: birthday.year=2014 D: person.year=2014

    有如下定义: struct date{ int year,month,day; };struct worklist{ char sex; struct date birthday; }person;对结构体变量 person 的出生年份进行赋值时,下面正确的赋值语句是 。 A: person.birthday.year=2014 B: year=2014 C: birthday.year=2014 D: person.year=2014

  • 2022-06-19 问题

    The fifth day of the first lunar month is the birthday of the God of Wealth, and people welcome his arrival on this day. 未知类型:{'label': 'questionDesc', 'content': '以下哪个选项与题干意思一致?', 'isMemberControl': 0, 'type': 181} A: The fifth day of the first solar month is the birthday of the God of Wealth, and people welcome his arrival on this day. B: People welcome the arrival of the God of Wealth on the fifth day of the first lunar month, which is his birthday. C: The fifth day of the first lunar month is the birthday of the God of Poverty, and people welcome his arrival on this day.

    The fifth day of the first lunar month is the birthday of the God of Wealth, and people welcome his arrival on this day. 未知类型:{'label': 'questionDesc', 'content': '以下哪个选项与题干意思一致?', 'isMemberControl': 0, 'type': 181} A: The fifth day of the first solar month is the birthday of the God of Wealth, and people welcome his arrival on this day. B: People welcome the arrival of the God of Wealth on the fifth day of the first lunar month, which is his birthday. C: The fifth day of the first lunar month is the birthday of the God of Poverty, and people welcome his arrival on this day.

  • 2022-05-26 问题

    有如下定义: struct date { int year, month, day; }; struct worklist { char name[20]; char sex; date birthday; }person; 对结构体变量person的出生年份进行赋值时,下面正确的赋值语句是( )。 A: year=1958 B: birthday.year=1958 C: person.birthday.year=1958 D: person.year=1958

    有如下定义: struct date { int year, month, day; }; struct worklist { char name[20]; char sex; date birthday; }person; 对结构体变量person的出生年份进行赋值时,下面正确的赋值语句是( )。 A: year=1958 B: birthday.year=1958 C: person.birthday.year=1958 D: person.year=1958

  • 1 2 3 4 5 6 7 8 9 10