已知一个不带头结点单链表的头指针为L,则在表头元素前插入新结点*s的语句为()

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

时间:2023-06-19 10:07:15

相似题目