设指针变量top指向当前链式栈的栈顶,则删除栈顶元素的操作序列为( )
A.
top=top+1;
B.
top=top-1;
C.
top->next=top;
D.
top=top->next;
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/232175.html
上一篇:Passage 2For World Economy, the Worst of Recession Has PassedFor many nations, the worst of economic slump is over.After a slow first half, the United States recovery has accelerateD. Some economists are talking of a real 4 per cent o
下一篇:求最小树的方法有( )