题目:设带有头结点链栈,其栈项指针为top,向链栈中插入一个s结点时,则执行()
s->next=top->next; top=s
s->next=top; top->next=s
s->next=top->next; top->next=s
top->next=s; s->next=top->next
题目:设带有头结点链栈,其栈项指针为top,向链栈中插入一个s结点时,则执行()
s->next=top->next; top=s
s->next=top; top->next=s
s->next=top->next; top->next=s
top->next=s; s->next=top->next