在一个单链表HL中,若要在指针q所指结点的后面插入一个由指针p所指向的结点,则执行()。
(A)q一>next=p一>next;p一>next=q;
(B)p一>next=q一>next;q=p;
(C)q一>next=p一>next;p一>next=q;
(D)p一>next=q一>next;q一>next=p;
参考答案
继续答题:下一题


(A)q一>next=p一>next;p一>next=q;
(B)p一>next=q一>next;q=p;
(C)q一>next=p一>next;p一>next=q;
(D)p一>next=q一>next;q一>next=p;