struct student{ char a[20]; int name; struct student *next;}
救命,这玩意怎么赋值啊,还有咋单链表插入删除啊,好家伙,a[20]这个东西,完全就没办法赋值啊啊啊啊啊啊啊啊啊啊啊,大佬救救我
收起
这个是字符数组,相当于字符串,可以这样赋值
student p; scanf("%s",p.a);
报告相同问题?