• 2022-05-26
    已知学生记录描述为:struct student{ int num; char name[20]; struct { int year;int month;int day;}birth;};struct student s;下列对“生日”的正确赋值方式是( )
    A: year=1980; month=6; day=11;
    B: birth.year=1980;birth.month=6;birth.day=11;
    C: s.year=1980; s.month=6; s.day=11;
    D: s.birth.year=1980; s.birth.month=6; s.birth.day=11;
  • 举一反三