單項選擇題

單鏈表中刪除p指針指向結(jié)點的后繼(假設(shè)存在)的語句序列是()

A.p->next=p->next;
B.p->next=p->next->next;
C.p->next=p;
D.p=p->next;

微信掃碼免費搜題