Delete is an operator that is used to destroy array and non-array(pointer) objects which are created by new operator as well as NULL pointers.
Read this article to understand delete operator in C++ in depth
Have a doubt or thought? Join the discussion now
This is a companion discussion topic for the original entry at http://iq.opengenus.org/delete-operator-cpp/