逆置單鏈表

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,*
相關文章
相關標籤/搜索