“`程序的局部变量存在于栈(stack) 中,全局变量存在于静态数据区中,动态申请数据存在于堆(heap)中。 “` Was this helpful? YesNo 0 / 0 上一篇: 什么是预编译,何时需要预编译: 下一篇: static函数与普通函数有什么区别? 发表回复 取消回复0 Your email address will not be published. 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。