C++ pointers and heap deallocation

后端 未结 0 719
遥遥无期
遥遥无期 2021-01-31 23:05

I\'m just getting to grips with C++ heap memory management (coming from a JS / C# GC managed world) and am wondering why this works(!):

This:

 for (int i{5         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题