The pointer being pointed at by 'p' was deliberately nullified after the memory has been deallocated It is highly desirable that either the pointer points at a valid dynamically allocated block or be NULL.
{}