注意:此页面搜索的是所有试题
已知学生记录描述为:struct studentf+
int no ; char name[20]; char sex;
struct { int year; int month ; int day ; ]birth ;r
siP设结构变量s 中的"birth"应是“1985 年10月1日”,则下面正确的赋值方式是
Ayear=1985;+
month=10;+
day=1;
Bbirth.year=1985;birth.month=10;+birth.day=1;
Cs.year=1985;+s.month=10;+s .day=l;
Ds.birth.year=1985;+s.birth.month=10;+s.birth.day=1;

参考答案