C:20---联合/共用体(union)

一、定义 和结构体定义类似,只是把struct改为union 联合也可以使用typedef取别名 union person { char student; char teacher; int id; }; typedef union person { char student; char teacher; int id; }person,*p_per
相关文章
相关标签/搜索