Q.

When is std::bad_alloc exception thrown?

A. when new operator cannot allocate memory
B. when alloc function fails
C. when type requested for new operation is considered bad, thisexception is thrown
D. object
Answer» D. object
2.3k
0
Do you find this helpful?
2

Discussion

No comments yet