堆栈操作中,保持不变的是: A.堆栈的顶 B.堆栈中的数据 C.堆栈指针 D.堆栈的底

作者: tihaiku 人气: - 评论: 0
问题 堆栈操作中,保持不变的是: A.堆栈的顶 B.堆栈中的数据 C.堆栈指针 D.堆栈的底
选项
答案 D
解析 提示:在CPU执行程序的过程中,会执行有关的堆栈操作指令。执行这样的指令,无论是压入堆栈还是弹出堆栈,堆栈指针和栈顶肯定随着指令的执行而发生改变。同时,堆栈中的数据也会随着压入数据的不同而改变。唯一不会改变的就是在堆找初始化时设置的堆栈的底。

相关内容:堆栈,操作,数据,指针

猜你喜欢

发表评论
更多 网友评论0 条评论)
暂无评论
错误啦!

错误信息

  • 消息: [程序异常] : MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  • 文件: /twcms/kongphp/cache/cache_redis.class.php
  • 位置: 第 85 行
    <?php echo 'KongPHP, Road to Jane.'; ?>