将指针所指向的元素插入到保存的顺序表的最后一个位置
大概这样子。
node* insert(node* head,node *p) { if(head==NULL || p==NULL)return NULL; node *q=head; while(q->next!=NULL) q=q->next; q->next=p; p->next=NULL; return head; }