单选题
C语言
2008-03-28
已知学生记录描述为:
struct student
{ int no;
char name[20],sex;
struct
{ int year,month,day;
} birth;
};
struct student s;
设变量s中的"生日"是"1984年11月12日",对"birth"正确赋值的程序段是
A.year=1984;month=11;day=12;
B.year=1984;month=11;day=12;
C.birtyear=1984;birtmonth=11;birtday=12;
D.birtyear=1984;birtmonth=11;birtday=12;
参考答案
D
答案解析
暂无解析
你可能感兴趣的试题
A.10
B.15
C.100
D.150
A.12
B.13
C.14
D.15
A.PER 是结构体变量名
B.PER是结构体类型名
C.typedef struct 是结构体类型
D.struct 是结构体类型名