單項(xiàng)選擇題

若有以下定義:

則能夠把c插入到a和b之間并形成新鏈表的程序段是()

A.a.next=c;c.next=b
B.head.next=p;p.next=head.next
C.head->next=&c;p->next=head->next
D.(*head).next=p;(*p).next=&b

微信掃碼免費(fèi)搜題