C语言 函数 结构与联合
2.
结构类型变量的说明
说明结构类型变量有以下三种方法,以上面定义 的student为例来加以说明。 (1) 先定义结构,再说明结构变量。如: struct student { int num; char name[20]; 说明了两个变量a1 a1和 说明了两个变量a1和 char sex; a2为student结构类 a2为student结构类 float score; 型。 }; struct student a1,a2;
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库C语言 函数 结构与联合(8)在线全文阅读。
相关推荐: