单项选择题

在单链表中,指针p指向元素为x的结点,下面哪条语句实现“删除x的后继” ( )

A.p=p->next
B.p->next=p->next->next
C.p->next=p
D.p=p->next->next