清华大学出版社 TSINGHUA UNIVERSITY PRESS 11.1概述 声明一个结构体类型的一般形式为: struct结构体名 结构体名 成员表列} 如: struct student int num; char name 20; char sex int age; float score; char addr301 类型名 成员名11.1 概述 ◼ 声明一个结构体类型的一般形式为: struct 结构体名 {成员表列}; 如:struct student { int num;char name[20];char sex; int age;float score;char addr[30]; } 结构体名 类型名 成员名