0
Dynamic Memory
Can we use malloc()/free() instead of new/delete in C++?
2 Respostas
+ 1
Yes. After all, new and delete are just operators that eventually call malloc and free. Keep in mind that malloc and free will not call constructors and deconstructors on its own though.
0
thank you