摘要:
链表是C语言编程中常用的数据结构,比如我们要建一个整数链表,一般可能这么定义:struct int_node { int val; struct int_node *next;};为了实现链表的插入、删除、遍历等功能,另外要再实现一系列函数,比如:void insert_node(struct int_node **head, int val);void delete_node(struct int_node *head, struct int_node *current);void access_node(struct int_node *head){ struct int_node *no 阅读全文