Tuesday, 17 April 2012

Can a NULL be checked before deleting the p variable froi the expression, Delete p; and not if (p != NULL) ? | C++

NULL needs not to be checked before deleting the p variabl because if the p variable is equal to NULL, it does not affect the delete p statement.

No comments: