1. new and delete are C++ operators, in contrast, malloc and free are functions inherited from from C.
2. malloc and free could not call constructor and destructor.
3. So, in my point of view, new and delete are better than malloc and free
1. new and delete are C++ operators, in contrast, malloc and free are functions inherited from from C.
2. malloc and free could not call constructor and destructor.
3. So, in my point of view, new and delete are better than malloc and free