鏈棧的進棧,出棧,頭插法

#include #include typedef struct LNode{ int data;    struct LNode *next; }LNode;  struct LNode *initstack(LNode *L){//注意函數類型 struct LNode L=(LNode *)malloc(sizeof(LNode)); L->next=NULL; return L; }  
相關文章
相關標籤/搜索