adspace
Answer Posted / Amit Kumar Yadav
new/delete in C++ are part of the object-oriented memory management system and handle dynamic memory allocation and deallocation, including constructing and destructing objects as needed. malloc()/free in C are low-level functions for allocating and freeing raw blocks of memory without any constructor or destructor calls.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers