设一个顺序栈的大小为n(n>0),指针top指向栈顶元素的位置,判别栈是否为空的条件 语句是
A.if(top==0)
B.if(top=0)
C.if(top>n)
D.if(top! =0)
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/784199.html
上一篇:He is seriously ill because his girlfriend has just deserted him.Why don’t you try some occupational ________ to remove his mind from distress?
下一篇:谈判双方的价格目标与价格谈判空间之间存在着怎样的关系?