摘要:
#include<stdio.h> #include<stdlib.h> struct Test { int data; struct Test * next; }; printfLink(struct Test * head) { while(head!=NULL) { printf("%d\n" 阅读全文
摘要:
删除链表节点可以分为三种:删除头节点,删除中间节点和删除尾节点 #include<stdio.h> #include<stdlib.h> struct Test { int data; struct Test * next; }; printfLink(struct Test * head) { w 阅读全文
摘要:
在链表的前方插入节点 #include<stdio.h> struct Test { int data; struct Test * next; }; printfLink(struct Test * head) { while(head!=NULL) { printf("%d\n",head->d 阅读全文