已知L是一个不带头结点的单链表, 在表首插入结点p的操作是( )A、p = L->first; p->next = L->first;B、p->next = L->first; p = L->first;C、p->next = L->first; L->first = p;D、L->first = p; p->next = L->first;
已知L是一个不带头结点的单链表, 在表首插入结点p的操作是( )
A、p = L->first; p->next = L->first;
B、p->next = L->first; p = L->first;
C、p->next = L->first; L->first = p;
D、L->first = p; p->next = L->first;
发布时间:2025-07-15 22:18:56