Memory Management
Memory Errors
Differences Between New/Delete and Malloc/Free
Note:
- new calls the constructor, delete calls the destructor. malloc and free do neither of these things.
- new throws an exception on memory exhaustion, malloc returns NULL.
Labels: C/Cplusplus
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home