C++ Programming and Technical

Do I need to check for NULL after p = new Fred()?

Read Solution (Total 0)

C++ Other Question

Can I use realloc() on pointers allocated via new?
A: No!
How can I convince my (older) compiler to automatically check new to see if it returns
NULL?