C語言-------實現一個簡單的單向鏈表

編寫一個鏈表程序,在程序中實現簡單的功能 #include <stdio.h> #include <stdlib.h> struct node{ int num; char name[20]; struct node* next; //指向下一個地址的指針 }; //聲明一個鏈表,此時內存不分配內存 typedef struct node Node; //重命名,便於書
相關文章
相關標籤/搜索