typedef struct {int n;char ch[8];} PER; typedef 是类型定义的意思,这句的意思是将PER作为这个结构的别名,使得调用 PER per; 意思就是定义一个这个结构的变量per