C Plus Plus Miscellaneous - Study Mode

[#306] Which are instances of a class with member function operator() when it is defined?
Correct Answer

(A) function objects

[#307] What is the use of fill() function in array class?
Correct Answer

(A) To fill an array with a given single value

[#308] What is the use of emplace() function?
Correct Answer

(A) Used to change the object any container is holding

[#309] Which one is always faster in writing on C++?
Correct Answer

(B) Writing to memory

[#310] Which of the following is a Non-modifying Sequence Operation?
Correct Answer

(D) search()