C++Do I need to check for null before delete?
If i have some sort of pointer pMem i allocate dynamically having new, a few pointer check regarding null prior to delete, in this way: when (pMem) remove duplicate content pMem; Is checking for null necessary No need to check to get null.The remove command ignores the phone call if …