结构体
struct 是一种数据类型。
typedef struct tagStudent
{
int index;
int no;
char name[20]; //定义成char * 后就无法修改
char sex[3];
char class[20];
}Student;
struct 结构体的大小
元素类型大小的叠加。因为以32位为单位读取速度最快,当结构体元素大小不能整除4时,会自动补齐
空结构体是一种未定义的行为