有以下定义和语句
struct workers { int num; char name[20]; char c; struct { int day; int month; int year;} s; }; struct workers w,*pw; pw=&w;
能给w中year成员赋1980的语句是先要得到内层结构体变量,即w.s,若要给year赋值,表示为w.s.year即可