Most of the time I see some C++ programmers who check if a pointer is NULL before deleting it. if (ptr != NULL) { delete ptr; ptr = NULL; } Well, according to C++03 [ISO/IEC IS 14882:2003] §5.3.5/2 which explicitly states: …if the value of the operand of delete is the null pointer the operation has no effect. C++ Standard Core Language Defect Reports and Accepted Issues, Revision 82delete and user-written deallocation functions Therefore, deleting a NULL pointer has no effect (if the deall...