C++ Programming and Technical

Can I use realloc() on pointers allocated via new?
A: No!

Read Solution (Total 1)

C++ Other Question

Why should I use new instead of trustworthy old malloc()?
A: Constructors/destructors, type safety, overridability.
Do I need to check for NULL after p = new Fred()?