answersLogoWhite

0

Depending on the implementation, they might be the same routine in the run-time library. Properly, however, delete is the C++ counterpart to new, and free is the C/C++ counterpart to malloc/calloc/realloc, and you should use the correct routine for each type of allocation in case the run-time library implements the free space list differently. Also, delete automatically fires the destructor, if there is one.

User Avatar

Wiki User

14y ago

What else can I help you with?