某链栈的栈顶指针为top 若向该栈中插入一个p所指结点 则执行______。
已帮助 人
某链栈的栈顶指针为top,若向该栈中插入一个p所指结点,则执行______。
A.p->next=top; top=top->next;
B.top->next=p;
C.p->next=top->next; top->next=p;
D.p->next=top; top=p;

回答
共1条回复-
p->next=top; top=p;
