int InsertPost_link(LinkList llist,DataType x,DataType y)
{
PNode p=NULL,q;
q=(PNode)malloc(sizeof(struct Node));
p=llist->next;
while(p!=NULL&&p->data!=x)
{p=p->next;
if(p==NULL)
printf("not exist data %d",x); }
q->data=y;
q->next=p->next;
p->next=q;
return 1;
}
转载请注明原文地址:https://blackberry.8miu.com/read-33908.html