结构体变量的定义(1) 先声明结构体类型再定义变量 struct student unsigned num char name [20]; char sex/ unsigned agei f1oa七 score i char addr [501 struct student stul stu2 i C语言程序设计-第8章结构体10C语言程序设计 - 第8章 结构体 10 结构体变量的定义 (1) ⚫ 先声明结构体类型再定义变量 struct student { unsigned num; char name[20]; char sex; unsigned age; float score; char addr[50]; }; struct student stu1, stu2;