A Admin • 833K Points Coach Q. When is std::bad_alloc exception thrown? (A) When delete operator cannot delete the allocated (corrupted) object (B) When type requested for new operation is considered bad, thisexception is thrown (C) When alloc function fails (D) When new operator cannot allocate memory Correct Answer - Option(A) Views: 24 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.