正在加载图片...
第9章结构体、共用体及枚举型 9.1.4结构体数组 结构体数组的定义 和定义结构体变量方法相仿,只需说明其为数组即可。如: struct student int num char name [20] char sex; float score: char address 301 struct student stul31第9章 结构体、共用体及枚举型 9.1.4 结构体数组 1. 结构体数组的定义 和定义结构体变量方法相仿,只需说明其为数组即可。如: struct student { int num; char name[20]; char sex; float score; char address[30]; }; struct student stu[3];
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有