1.结构体类型 struct student { int num; char name[20]; char sex; int age; float score; };//要加“;” struct student student1,student2; struct student { int num; char name[20]; char sex; int age; float score; } student1,student2; //加“;” struct { int num; char name[20]; char sex; int age; float score; } student1,student2; 第三种就不能再用struct student 定义其它变量 2.配合typedef的使用