Why doesn't delete automatically point the pointer to NULL?
Why doesn't delete automatically point the pointer to NULL?
>Why doesn't delete automatically point the pointer to NULL?
Why doesn't C++ require local variables to be initialized to a predictable value? The short answer is that to do so would effect performance more than many are willing to tolerate.
My best code is written with the delete key.