说明: C语言代码参考,单链表的拆分 #include #include struct node { int data; struct node * next; }; struct node * creat(int n) { struct node * head,* p; head=(struct node *)malloc(sizeof(struct node)); head->next=NULL; int i; for(i=1;idata); p->next=head->next
<qq_43057607> 上传 | 大小:1kb