C语言——带头节点单链表常见操做

#include <stdio.h> #include <stdlib.h> typedef struct stu { int data; //存放数据 struct stu* next; //下一个节点地址 }Node; typedef struct { int count; // 节点个数 Node* head; // 头结点 }List; //建立新节
相关文章
相关标签/搜索