结构体数组的初始化 与其他类型的数组一样,对结构体数组可以初始化。如: struct student { int num; char name[20]; char sex; int age; float score; char add[30]; }为 struct student stu[3]={10101,“LiLin”,‘M',18,87.5, “103 Beijing Road'”},{10102,“Zhang Fun'”, ‘M,19,99, “130 Shanghai Road'"},{10104,“Wang Min'”,‘F',20, 78.5,*1010Zhongshan Road"});结构体数组的初始化 与其他类型的数组一样,对结构体数组可以初始化。如: struct student { int num; char name[20]; char sex; int age; float score; char add[30]; }; struct student stu[3]={{10101, “Li Lin” , ‘M’ ,18,87.5, “103 Beijing Road”},{10102, “Zhang Fun” , ‘M’ ,19,99, “130 Shanghai Road”},{10104, “Wang Min” , ‘F’ ,20, 78.5, “1010 Zhongshan Road”}};