單項選擇題在單鏈表中,如果在結點p之后插入一個新結點s,其操作為()。

A.s->next=p->next;p->next=s;
B.p->next=s;s->next=p->next;
C.s->next=p;p->next=s->next;
D.p->next=s;s->next=p;


您可能感興趣的試卷