在一个表头指针为ph的单链表中,若要向表头插入一个由指针p指向的结点,则应执行()操作。
A:ph=p;p->next=ph
B:p->next=Ph;p=ph
C:p->next=ph->next;ph=p
D:p->next=ph->next;ph->next=p
出自:计算机科学