已知学生记录描述为:
struct student
{char no[8],name[10],sex[3];
struct
{int day,month,year;}birth;
};
struct student s;
设变量s中的"生日"应是2005年8月18日,下列对"生日的赋值方式中正确的是( )
A. day =18;
month=8;
year=2005;
B. s.day =18;
s.month =8;
s.year =2005; C. s.birth.day =18.
s.birth.month=8;
s.birth.year=2005; D. birth.day =18;