新手求助!链表库编写编译没有任何错误,但是点击运行以后却什么都没有显示出来!救救孩子

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
typedef struct student
{
    int score;
    struct student*next;
}L;
    L*create(int date)
{
    L*p=(L*)malloc(sizeof(L));
    if(p=NULL)
    {
        printf("malloc fair!");
        return NULL;
    }
    memset(p,0,sizeof(L));
    p->score=date;
    p->next=NULL;
}
    void tailinsert( L *ph,L *c)
{
    L*p=ph;
    while(p->next!=NULL)
    {
    p->next=p;
    }
    p->next=c;
}
    void print(L*ph)
    {
L*p=ph;
p=p->next;
while(p!=NULL)
{
printf("%d\n",&p->score);
p=p->next;
}
printf("%d\n",&p->score);
}
void detect(L*ph,int date)
{
L*pr=ph;
L*p=ph->next;
if(p=NULL)
{
printf("数据为空,无法删除\n");
memset(p,0,sizeof(L));
}
else
while(1)
{
pr=p;
p=p->next;
if(p=NULL)
{
printf("找不到数据\n");
return;
}else
pr->next=p->next;
free(p);
}

}
int main()
{
L*m=create(0);
L*infor;
while(2)
{
printf("请输入您想要的数据\n");
infor = (L*)malloc(sizeof(L));
infor->next = NULL;
scanf("%d\n",&infor->score);
tailinsert(m,infor);
printf("要继续吗?\n1.yes\t2.no");
int i=getchar();
if(i==2)
{
break;
}
print(m);
}
printf("请输入要删除的数据\n");
scanf("%d\n",&infor->score);
detect(m,infor->score);
return 0;
}

就不知道为什么,点击运行以后什么反应都没有图片说明
求求各位大佬帮帮忙!谢谢了!

错误太多了:
=表示赋值,判断相等用==,if(p=NULL)这样的错误你有好几次
create函数缺少return p;返回

英文单词fair是公平的意思不是失败,date是日期,不是数据。

另外vc++6.0这款1998年问世的编译器搭配win10系统,用得还是个汉化修改版,能不能正常运行,也只有天知道了。

之前的问题 https://ask.csdn.net/questions/1098737 先采纳,采纳之后再帮你详细看看有没有别的问题