Loading practice questions
What is the use of emplace() function?
Correct Answer: D — Used to change the object any container is holding
Explanation:
emplace() function is used to change the object contained in any container i.e destroying the present object and creating the new object for the value given by the user.