C++ Programming and Technical

What are the two steps that happen when I say delete p?

Read Solution (Total 0)

C++ Other Question

Do I need to check for NULL before delete p?
A: No!
In p = new Fred(), does the Fred memory "leak" if the Fred constructor throws an exception?
A: No.