- 博客(1)
- 收藏
- 关注
原创 初遇结构体
初遇结构体 #include<stdio.h> int main() { typedef struct student//声明一个结构体类型,student { long studentID; char studentName[10]; char studentSex; int yearofBirth; int score[4]; }STUDENT;//利用typedef 取一个别名STUDENT ,STUDENT为一个结构体类型 (像数组一样) STUDENT stu1 = {20202119
2021-03-27 22:22:35
104
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人