有以下定义和语句:struct workers{ int num;char name[20],c;struct{int day,month,year;}s;};struct workers w,*pw;pw=&w;能给w中year成员赋1989的语句是()。
A、w.s.year=1989;;
B、*pw.year=1989;;
C、w.year=1989;;
D、pw->year=1989;
发布时间:2025-03-16 19:16:46
A、w.s.year=1989;;
B、*pw.year=1989;;
C、w.year=1989;;
D、pw->year=1989;