C Plus Plus Miscellaneous - Study Mode

[#146] What is meant by exception specification?
Correct Answer

(A) A function is limited to throwing only a specified list of exceptions

[#147] Which is used to throw a exception?
Correct Answer

(A) throw

[#148] Which of the following is correct about Valarray?
Correct Answer

(A) Supports element-wise mathematical operations

[#149] What are the design requirements for building a container from the sratch?
Correct Answer

(D) All of the mentioned

[#150] What will happen if an exception that is thrown may cause a whole load of objects to go out of scope?
Correct Answer

(C) It will be added to the overhead