• 2022-06-14 问题

    ‏已知学生记录描述为:‍‏struct student {‍‏ int no;‍‏ char name [20];‍‏ char sex;‍‏ struct{‍‏ int year;‍‏ int month;‍‏ int day;‍‏ }brith;‍‏};‍‏struct student s;‍‏‍‏设变量s中的“生日”应是“1984年11月11日”,下列对“生日”的正确赋值方式是( )。‍‏‍ A: year=1984; month=11; day=11; B: brith.year=1984; brith.month=11; brith.day=11; C: s.year=1984; s.month=11; s.day=11; D: s.brith.year=1984; s.brith.month=11; s.brith.day=11;

    ‏已知学生记录描述为:‍‏struct student {‍‏ int no;‍‏ char name [20];‍‏ char sex;‍‏ struct{‍‏ int year;‍‏ int month;‍‏ int day;‍‏ }brith;‍‏};‍‏struct student s;‍‏‍‏设变量s中的“生日”应是“1984年11月11日”,下列对“生日”的正确赋值方式是( )。‍‏‍ A: year=1984; month=11; day=11; B: brith.year=1984; brith.month=11; brith.day=11; C: s.year=1984; s.month=11; s.day=11; D: s.brith.year=1984; s.brith.month=11; s.brith.day=11;

  • 1