單項選擇題在一個單鏈表中p指向結(jié)點a,q指向結(jié)點a的直接后繼結(jié)點b,要刪除結(jié)點b,可執(zhí)行()。

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



您可能感興趣的試卷