new delete « Development « C++





1.delete memory allocate for objects
2.Use new operator to allocate memory for object
3.Demonstrating new throwing bad_alloc when memory is not allocated
4.bad_alloc standard exception