为什么要使用结构数组? 例如有一种情况,我们需要存储5名学生的数据。我们可以使用下面给出的结构来存储它。 示例 #include<stdio.h> struct student { char name[20]; int id; float<