问题 单项选择题

某双向链表中的结点如下图所示,删除t 所指结点的操作为()。

A.t->prior->next=t-& gt;next; t->next->prior=t->prior;

B.t->prior->prior=t->prior; t->next->next=t->next;

C.t->prior->next=t->prior; t->next->prior=t->next;

D.t->prior->prior=t->next; t->next->prior=t->prior;

答案

参考答案:A

单项选择题
问答题 简答题