若有以下定义和语句: struct student { int num; char name[12]; struct { int year; int month; int day; }birth; }; struct student s; 设变量s中的“生日”是“2000年1月1日”,下列对“生日”的正确赋值方式是()。
A.year=2000;month=1;day=1;
B.birth.year=2000; birth.month=1; birth.day=1;
C.s.year=2000; s.month=1; s.day=1;
D.s.birth.year=2000; s.birth.month=1; s.birth.day=1;