高普考題庫
106 年 106年公務人員高等考試三級考試暨普通考試・程式設計概要
申論 2用C 語言撰寫一個函式,能反轉一單向鍊結串列(singly linked list):struct node* reverse(struct node *h)。單向鍊結串列範例如圖一。(25 分)函式內請勿複製結點,其中節點的資料結構為struct node {int d;struct node *next;}h h反轉圖一、單向鍊結串列範例