单项选择题
若有以下定义
则能保留链表其它结点,而删除p所指向结点的程序段是()
A.head->next=p->next;free(p)
B.head->next=p;p->next=head->next;free(p)
C.free(p);head->next=p;p->next=head->next
D.free(p);head->next=p->next
点击查看答案
相关考题
