单项选择题

有以下结构体说明和变量定义,如图所示: struet node {int data; struct node*next;}*p,*q,*r;
现要将q所指结点从链表中删除,同时要保持链表的连续,以下不能完成指定操作的语句是

A.p->next=q->next;
B.p->next=p->next->next;
C.p->next=r;
D.p=q->next;