建立一個單鏈表節點

#include<stdio.h> #include<strings.h> #include<stdlib.h> //目的 將建立節點的代碼封裝成一個函數 //構建一個鏈表的節點,指針是p,暫時指向NULL struct node{ int data; //有效數據 struct node *pNext; //指向下一個節點的指針 }; /********
相關文章
相關標籤/搜索