p 指向线性中 L 的某一结点,则在线性的表尾插入结点 s 的语句序列是 ____ 。
A.
whilep->next!=NULLp=p->next;p->next=s;s->next=NULL;
B.
whilep!=NULLp=p->next;p->next=s;s->next=NULL;
C.
whilep->next!=NULLp=p->next;s->next=p;p->next=NULL;
D.
whilep!=NULLp=p->next->next;p->next=s;s->next=p->next;