一、结构体
1.结构体定义
struct student
{
int num;
char name[20];
char sex;
float score;
}
2.结构体指针
(1)struct 结构体名 *结构体指针变量名;
如:struct student *pstu;
一、结构体
1.结构体定义
struct student
{
int num;
char name[20];
char sex;
float score;
}
2.结构体指针
(1)struct 结构体名 *结构体指针变量名;
如:struct student *pstu;