C++ Programming and Technical

After p = new Fred[n], how does the compiler know there are n objects to be destructed
during delete[] p?

Read Solution (Total 0)

C++ Other Question

Can I drop the [] when deleteing array of some built-in type (char, int, etc)? Is it legal (and moral) for a member function to say delete this?