2020-10-07

    科技2024-10-14  20

    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; }
    Processed: 0.071, SQL: 8