1.

When is std::bad_alloc ex

A. When new operator cannot allocate memory
B. When alloc function fails
C. When type requested for new operation is considered bad, this exception is thrown
D. When delete operator cannot delete teh allocated (corrupted) object
Answer» B. When alloc function fails


Discussion

No Comment Found