• 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-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-05-26 问题

    已知对学生记录的描述为: struct student { int num;  char name[20],sex;   struct{ int year,month,day; }birthday; }; struct student stu;设变量stu中的"生日"是"1995年11月12日",对"birthday"正确赋值的程序是______。 A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: birthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;

    已知对学生记录的描述为: struct student { int num;  char name[20],sex;   struct{ int year,month,day; }birthday; }; struct student stu;设变量stu中的"生日"是"1995年11月12日",对"birthday"正确赋值的程序是______。 A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: birthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;

  • 2022-05-26 问题

    已知对学生记录的描述为:[br][/br] struct student { int num; char name[20],sex; struct{ int year,month,day;}birthday; }; struct student stu; 设变量stu中的“生日”是“1995年11月12日”,对“birthday”正确赋值的程序是______。 A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: irthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;

    已知对学生记录的描述为:[br][/br] struct student { int num; char name[20],sex; struct{ int year,month,day;}birthday; }; struct student stu; 设变量stu中的“生日”是“1995年11月12日”,对“birthday”正确赋值的程序是______。 A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: irthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;

  • 2022-06-17 问题

    若有以下定义,则对变量student1中“生日”的正确赋值方式是( )。struct student{ int num; char name[20], sex; struct { int year, month, day; } birthday;} ; struct student student1; A: student1.birthday.year = 2003;student1.birthday.month = 5;student1.birthday.day = 1; B: year = 2003;month = 5;day = 1; C: birthday.year = 2003;birthday.month = 5;birthday.day = 1; D: student1.year = 2003;student1.month = 5;student1.day = 1;

    若有以下定义,则对变量student1中“生日”的正确赋值方式是( )。struct student{ int num; char name[20], sex; struct { int year, month, day; } birthday;} ; struct student student1; A: student1.birthday.year = 2003;student1.birthday.month = 5;student1.birthday.day = 1; B: year = 2003;month = 5;day = 1; C: birthday.year = 2003;birthday.month = 5;birthday.day = 1; D: student1.year = 2003;student1.month = 5;student1.day = 1;

  • 2022-06-14 问题

    已知对学生记录的描述为:设变量stu中的“生日”是“1995年11月12日”,对“birthday”正确赋值的程序是() A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: birthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;

    已知对学生记录的描述为:设变量stu中的“生日”是“1995年11月12日”,对“birthday”正确赋值的程序是() A: year=1995;month=11;day=12; B: stu.year=1995;stu.month=11;stu.day=12; C: birthday.year=1995;birthday.month=11;birthday.day=12; D: stu.birthday.year=1995;stu.birthday.month=11;stu.birthday.day=12;

  • 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-06-17 问题

    中国大学MOOC: 下列说法正确的是( )struct birthday{int year;int month;int day;};

    中国大学MOOC: 下列说法正确的是( )struct birthday{int year;int month;int day;};

  • 2022-06-17 问题

    中国大学MOOC: typedef struct{ int month; int day; int year;} DATE;DATE birthday,*p;p=&birthday;以下哪个选项不是对结构体成员的引用()。

    中国大学MOOC: typedef struct{ int month; int day; int year;} DATE;DATE birthday,*p;p=&birthday;以下哪个选项不是对结构体成员的引用()。

  • 2022-06-17 问题

    若有以下说明语句,则下面叙述正确的是( )。 struct birthday {int year; int month; int day; }day1;

    若有以下说明语句,则下面叙述正确的是( )。 struct birthday {int year; int month; int day; }day1;

  • 1 2 3 4 5 6 7 8 9 10