What is the difference between new/delete and malloc/free?
new
delete
malloc
free
Related (duplicate?): In what cases do I use malloc vs
In C++ new/delete call the Constructor/Destructor accordingly.
malloc/free simply allocate memory from the heap. new/delete allocate memory as well.