In C++, what is the difference between free and delete[] for array allocations

前端 未结 0 517
半阙折子戏
半阙折子戏 2020-12-18 04:46

I am aware of the differences between free and delete in C++. But one thing I never understood is why in C malloc/free can allocate de-allocate both single \'objects\' and a

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