在双向循环链表中,设p指向待删结点,删除*p的正确语句为()
A.正确答案Ap->prior->next=p->next;
p->next->prior=p->prior;
free(p);
B.p->next=p->prior->next;
p->prior=p->next->prior;
free(p);
C.p->prior->next=p->next;
p->next->prior=p->prior;
D.p->next=p->prior->next;
p->prior=p->next->prior;