问题详情
在一个单链表head中,若要删除指针p所指结点的后继结点,则执行()。
A、p=p->next;free(p);
B、p->next=p->next->next;free(p);
C、q=p->nextq->next=p->next;free(q);
D、q=p->next;p->next=q->next;free(q);
请帮忙给出正确答案和分析,谢谢!