• 2022-06-12
    在一个单链表中。若删除p指向结点的后继结点,则运行的操作为( )
    A: q=p->next;p->next=p->next->next;free(q);
    B: p=p->next;q=p->next;p=q->next;free(q);
    C: q=p->next->next;p=p->next;free(q);
    D: p=p->next->next;q=p->next;free(q);