在一个具有n个单元的顺序栈中,假定以地址低端(即0单元)作为栈底,以top为栈顶指针,当栈未满时进行进栈操作,此时
A.top不变
B.top--
C.top++
D.top=0
正确答案是C
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/232534.html
上一篇:阅读下列程序,请写出调用fib(10)的输出结果。
阅读下列程序,请写出调用fib(10)的输出结果。
下一篇:There are many problems 1______ space travel. The first and greatest of them is gravity. If you let your pencil drop to the floor, you can see gravity in 2______ Everything is held down to the earth 3______ magnetic force. A rocket must go al least t