What is new operator and delete operator?

Describe new operator and delete operator. - new and delete operators are provided by C++ for runtime memory management. They are used for dynamic allocation and freeing of memory while a program is running. - new allocates memory on the heap. If there is insufficient memory, then new will fail and a bad_alloc exception will be generated.
For More Information Please Refer:
You May Also Like to Read: