C++ Programming and Technical

In p = new Fred(), does the Fred memory "leak" if the Fred constructor throws an exception?
A: No.

Read Solution (Total 0)

C++ Other Question

What are the two steps that happen when I say delete p? How do I allocate / unallocate an array of things?