单选题:在一个单链表中,已知s结点,若在s后插入e结点,则须执行( ).
在一个单链表中,已知s结点,若在s后插入e结点,则须执行( ).
@[A](2)
A. e->next=s->next; s->next=e;
B. s->next=e; e->next=s;
C. s->next=e->next; e->next=s;
D. e->next=s; s->next=e->next
A.e->next=s->next; s->next=e;
B.s->next=e; e->next=s;
C.s->next=e->next; e->next=s;
D.e->next=s; s->next=e->next
答案:A
@[A](2)
A. e->next=s->next; s->next=e;
B. s->next=e; e->next=s;
C. s->next=e->next; e->next=s;
D. e->next=s; s->next=e->next
A.e->next=s->next; s->next=e;
B.s->next=e; e->next=s;
C.s->next=e->next; e->next=s;
D.e->next=s; s->next=e->next
答案:A