堆栈使用
摘要:栈stack 存在内存高地址部分 类似压子弹 先进后出 ,后进先出 printf("Element at top of the stack: %d\n" ,peek()); printf("Elements: \n"); // print stack data while(!isempty()) {
阅读全文
posted @ 2024-09-24 23:14
posted @ 2024-09-24 23:14
Powered by:
博客园
Copyright © 2025 h0808
Powered by .NET 9.0 on Kubernetes