單鏈表的操作練習

代碼 //鏈表 //帶頭結點 #include<stdio.h> #include<stdlib.h> struct ListElement { int num; //char name[10]; ListElement *next; }; typedef struct ListElement node; typedef node* link; //從表頭插入新節點,返回表頭指針
相關文章
相關標籤/搜索