请问这段代码是什么意思?
typedef struct student{
int num;
struct student *pnext;
}stu, *pstu;
请问这段代码是什么意思?
typedef struct student{
int num;
struct student *pnext;
}stu, *pstu;
typedef的意思是说把A的别名设置为B
所以stu是struct student的别名
*pstu是struct student指针的别名
struct student 等价于 stu
struct student * 等价于 pstu