單項選擇題在一個單鏈表HL中,若要刪除由指針q所指向結點的后繼結點,則執(zhí)行()

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


您可能感興趣的試卷