在单向链表中,将结点q插入p所指结点之后的链操作为()。


在单向链表中,将结点q插入p所指结点之后的链操作为()。

A.q->next=p->next;p->next=q;

B.p->next=q;q->next=p->next;

C.q->next=p;p->next=q;

D.p->next=q;q->next=p;

正确答案:q->next=p->next;p->next=q;


Tag:数据结构 结点 所指 时间:2022-01-19 20:49:13