欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

已知学生记录描述为:
struct   student
{
int num;  
char name[20];  
struct  
{
int   year;
int   month;
int day;
}birth;
};
struct student s;
下列对“生日”的正确赋值方式是(    )
A. year=1980; month=6; day=11;
B. birth.year=1980;birth.month=6;birth.day=11;
C. s.year=1980; s.month=6; s.day=11;
D. s.birth.year=1980; s.birth.month=6; s.birth.day=11;

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题