快乐学习 一个网站喵查铺子(catpuzi.com)全搞定~

向一个栈顶指针为top带头结点的链栈中入栈一个s所指结点时,需执行________操作。

热门题目 网课答案 2022-12-07 扫描二维码

题目:向一个栈顶指针为top带头结点的链栈中入栈一个s所指结点时,需执行________操作。

A.s->next=top->next; top->next=s;
B.top->next=s;
C.s->next=top; top=s;
D.s->next=top; top=top->next;

喵查答案:S->next=top->next; top->next=S;
喜欢 (0)
关于作者: