數據結構實驗-鏈表-free函數陷阱

019-1-30 debug是讓人頭疼的事 在練習中我成功的又崩潰了一次;通過斷點調試 status DestroyList(Linklist head) {//⑵銷燬表 Linklist L = head, Lp; while (L->next != NULL) { L = Lp; L = L->next; free(Lp); } free(head); return O
相關文章
相關標籤/搜索