結構體/聯合體/枚舉

結構體 我們不能定義結構體,我們所做的是設計結構體。 接下來的代碼時結構體的基本操作 struct student { char id[10]; char name[10]; char sex[6]; int age; }; student fun() { student s = { "20180101", "yhping", "man", 28 }; return s; } void
相關文章
相關標籤/搜索