删除

若有以下定义:struct node { int data;  struct node *next; }struct node *head,*p; 已建立如下图所示的链表:     p                           ↓       ┌──┬──┐ ┌──┬──┐        ┌──┬──┐head→│data│next┼→│data│next┼→... →│data│NULL│      └──┴──┘ └──┴──┘        └──┴──┘能删除指针p所指向结点的程序段是(

若有以下定义:struct node { int data;  struct node *next; }struct node *head,*p; 已建立如下图所示的链表:     p                           ↓       ┌──┬──┐ ┌──┬──┐        ┌──┬──┐head→│data│next┼→│data│next┼→... →│data│NUL