第1题:
在一个单向链表中p所指结点之后插人一个s所指向的结点时,应执行
______和p->next=s;的操作。
第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题:
第4题:
A、p->next=s;s->prior=p;p->next->prior=s;s->next=p->next;
B、s->prior=p;s->next=p->next;p->next=s;p->next->prior=s;
C、p->next=s;p->next->prior=s;s->prior=p;s->next=p->next;
D、s->prior=p;s->next=p->next;p->next->prior=s;p->next=s;
第5题:
A.p=s->next
B.p->next=s;s->next=p->next
C.p->next=s->next;
D.s->next=p->next;p->next=s;
第6题:
此题为判断题(对,错)。
第7题:
第8题:
第9题:
A、s->next=p->next;p->next=s
B、q->next=s;s->next=p
C、p->next=s->next;s->next=p
D、p->next=s;s->next=q
第10题:
线性链表中结点的结构为(data,next)。已知指针p所指结点不是尾结点,若在*p之后插入结点*s,则应执行下列()操作。
A.s->next=p;p->next=s;
B.s->next=p->next;p->next=s;
C.s->next=p->next;p=s;
D.p->next=s;s->next=p;