問題詳情

16. Suppose p is a pointer of node points to the rear of a circular linked list. Initially, p = null. Suppose we have anotherlinked list pointed by avail which links the unused space together. The following program will erase the circular listinto the single linked list pointed by avail. Please fill the blanks. 5ccbe19a7bbf6.jpg
(A) code1: p->link->link, code2: p
(B) code1: p , code2: p->link->link
(C) code1: temp , code2: avail
(D) code1: avail , code2: temp

參考答案

答案:D
難度:困難0.333333
統計:A(0),B(2),C(0),D(2),E(0)

內容推薦

內容推薦