ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the use of emplace() function?
Correct Answer: D — Used to change the object any container is holding
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.