单项选择题

已知head是指向带头结点单链表的首指针,则删除线性表第一个实际结点(首结点)的操作是()
A、p=head,head=p->next;free(p);
B、p=head->next;free(p);head=head->next;
C、p=head->next,head->next=p->next;free(p);
D、free(head->next);head=head->next;

题目列表

你可能感兴趣的试题

判断题

任何人都可以在淘宝上开设网店。

答案: 错误
微信扫码免费搜题