struct student {
int a;
char b;
double c;
};
//用student标签的结构体,另外声明了变量t1、t2、t3
用typedef创建新类型
typedef struct {
int a;
char b;
double c;
} Simple;
//Simple作为类型声明新的结构体变量 Simple u1, u2[20], *u3;
struct student {
int a;
char b;
double c;
};
//用student标签的结构体,另外声明了变量t1、t2、t3
用typedef创建新类型
typedef struct {
int a;
char b;
double c;
} Simple;
//Simple作为类型声明新的结构体变量 Simple u1, u2[20], *u3;