第1题:
A.p->next=q;q->prior=p;p->next->prior=q;q->next=q;
B.p->next=q;p->next->prior=q;q->prior=p;q->next=p->next;
C.q->prior=p;q->next=p->next;p->next->prior=q;p->next=q;
D.q->prior=p;q->next=p->next;p->next=q;p->next->prior=q;
第2题:
A、q->next=x->next;x->next=p;
B、s->next=p;q->next=x->next;
C、p->next=x->next;x->next=p;
D、x->next=q;p->next=x->next;
第3题:
A、p->next=q;q->prior=p;p->next->prior=q;q->next=q;
B、q->prior=p;q->next=p->next;p->next->prior=q;p->next=q;
C、q->next=p->next;q->prior=p;p->next=q;p->next=q;
D、p->next=q;p->next->prior=q;q->prior=p;q->next=p->next;
第4题:
设指针变量p指向单链表中的结点A,则删去结点A的语句序列为 Q=p->next;p->data = p->data: p->next=(); :feee(q);
第5题:
A、p->next=p->next->next;
B、p->next=p->next;
C、p=p->next;
D、p=p->next->next;
第6题:
A.p->next->prior=p->prior;p->prior->next=p->next;
B.p->next=p->next->next;p->next->prior=p;
C.p->prior->next=p;p->prior=p->prior->prior;
D.p->prior=p->next->next;p->next=p->prior->prior;
第7题:
A、p=p->next;
B、p->next=p->next->next;
C、p->next=p;
D、p->next->next=p->next->next->next;
第8题:
A、p=p->next
B、p=p->next->next
C、p->next=p
D、p->next=p->next->next
第9题:
在单链表中,指针p指向元素为x的结点,下面哪条语句实现“删除x的后继”? ( )
A.p=p->next
B.p->next=p->next->next
C.p->next=p
D.p=p->next->next
第10题: