C语言链表问题

2025-05-15 06:08:04
推荐回答(1个)
回答1:

stu t=(stu)malloc(sizeof(struct student));

其余的地方同理修改

另:建议将stu由宏改为typdef定义的类型别名