2、在一个带头结点的单链表中,若 head 所指结点是头结点,若要删除第一个实际元素结点,则执行()。

A.p=head->next;head->next=p->next;free(p); B.p=head;free(p);head=head->next; C.head=head->next;p=head;free(p); D.p=head;head=head->next;free(p);

时间:2023-10-11 11:59:33

相似题目