C Plus Plus Miscellaneous - Study Mode

[#346] Which function is used to return the minimum element in the range?
Correct Answer

(C) min_element

[#347] What does the sequence adaptor provide?
Correct Answer

(C) Interface to sequence container

[#348] Which statement is used to catch all types of exceptions?
Correct Answer

(C) catch(...)

[#349] What is the purpose of the volatile keyword in C++?
Correct Answer

(B) To indicate that a variable may be changed unexpectedly by hardware or another thread

[#350] Which of the following is not a valid C++ standard library container?
Correct Answer

(C) ArrayList