struct a { }b; a就是结构体b的类型,b就是类型名 例如int v; int就是类型,v就是类型名; 也可以 struct a { }; typedef struct a b; 与以上定义的相同;