结构体变量的初始化 ●结构体变量和其它类型变量一样,可以在 定义时指定初始值 struct student i unsigned long num char name [301 char sex Int age; float score char native[10] }stUd1={620101," Li Min",M,18,542.5," Shaanxi"};结构体变量的初始化 ⚫ 结构体变量和其它类型变量一样,可以在 定义时指定初始值 struct student { unsigned long num; char name[30]; char sex; int age; float score; char native[10]; } stud1={620101,"Li Min",'M',18,542.5,"Shaanxi"};