搜题
问题   更新时间2023/12/3 14:45:00

有以下定义和语句: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 的语句是()。
·*pw. year=1980;
·w. year=1980;
·pw->year=1980;
·w. s. year=1980;

单选题
·w. s. year=1980;
王老师:19139051760(拨打)