what is the difference among mallocfree and


What is the difference among malloc/free and new/delete?

A: Malloc/free do not know about destructors and constructors. New & delete create and destroy objects, whereas malloc & free allocate and deallocate memory.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: what is the difference among mallocfree and
Reference No:- TGS0211620

Expected delivery within 24 Hours