单项选择题
有如下定义的结构体类型:对其中成员month的正确引用方式是()
A.data.month
B.data.year.month
C.month
D.workday.month
点击查看答案
相关考题
-
单项选择题
以下结构体的定义语句中,正确的是()
A.structstudent{intnum;charname[10];intage;};stu;
B.struct{intnum;charname[10];intage;}student;structstudentstu;
C.structstudent{intnum;charname[10];intage;}stu;
D.structstudent{intnum;charname[10];intage;};studentstu; -
判断题
在定义了枚举变量后,系统才为该变量分配内存空间。 -
判断题
结构体变量可以整体赋值,但不能整体比较。
