逆置单链表

1、基本声明 #include<stdio.h> #include<stdlib.h> typedef int datatype; typedef struct node { datatype data; struct node *next; }LNode; 2、尾接法创建单链表 LNode* tail_create(LNode *head) { LNode *tail,*
相关文章
相关标签/搜索