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
相關文章
相關標籤/搜索