正在加载图片...
制作:方斌 四、结构的成员是另一个结构体变量 struct date/*日期结构*/ int month ; /*K int dayi 月日 int year;/*年*/ } struct student int num; /*学号*/ char s name[20];*姓名*/ char sex /*性别*/ It agei *年龄* struct date birthday;/*成员是另一个结构体变量*/ har addr[30];/*地址*/ student, student2 birthday num name sex age addr month day year制 作:方 斌 四、结构的成员是另一个结构体变量 struct date /*日期结构 */ { int month; /* 月 */ int day; /* 日 */ int year; /* 年 */ }; struct student { int num; /* 学号 */ char name[20]; /* 姓名 */ char sex; /* 性别 */ int age; /* 年龄 */ struct date birthday; /*成员是另一个结构体变量 */ char addr[30]; /* 地址 */ } student1, student2;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有