单项选择题
若有以下定义:
则不能将q所指向的结点连到上图所示链表末尾的一组语句是()
A.q->next=NULL;p=p->next;p->next=q
B.p=p->next;q->next=p;p->next=q
C.p=p->next;q->next=p->next;p->next=q
D.p=(*p).next;(*q).next=(*p).next;(*p).next=q
点击查看答案
相关考题
