Multiple Choice
The bad_alloc exception is thrown
A) when program code encounters a bad memory location.
B) only when the program contains a catch block.
C) by the new operator.
D) when you forget to free memory with the delete operator.
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: If an exception is not caught, it
Q7: A sequential container organizes data in a
Q15: An associative container uses to access values
Q17: A function template's prefix contains _ in
Q18: Two types of container classes in the
Q19: All type parameters defined in a function
Q22: A try block must immediately be followed
Q23: The algorithms provided by the STL are
Q25: A _ is a "generic" function that
Q32: Iterators are objects that are similar to