下面两行代码其实是等价的
typedef struct Student p;
struct Student{
char name;
int age;
};
typedef struct Student{
char* name;
int age;
} *p;
下面两行代码其实是等价的
typedef struct Student p;
struct Student{
char name;
int age;
};
typedef struct Student{
char* name;
int age;
} *p;