单选题

在一个单链表head中,若要在指针p所指结点后插入一个q指针所指结点,则执行()

Ap->next=q->next;q->next=p;

Bq->next=p->next;p=q;

Cp->next=q->next;p->next=q;

Dq->next=>next;p->next=q;

正确答案

来源:www.examk.com

答案解析