以上代码引发的一个问题:pp函数结束后,为什么main函数还能输出15?

结论:内存释放只是释放函数对这块内存的所有权,不一定会把内存所存储的数据清除,直至被下次使用覆盖。

Last modification:February 26, 2019
If you think my article is useful to you, please feel free to appreciate