typedef struct node NODE;. 或可將typedef與節點的定義合併一起寫: typedef struct node{ int data; struct node *link;. } NODE;. 宣告開頭指標list 的程式如下:.
確定! 回上一頁