單項選擇題

在一個單鏈表中,若要刪除p指針所指向結點的后繼結點,則執(zhí)行()

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

微信掃碼免費搜題