ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the use of type() function in any container?
Correct Answer: B — Used to return the type information about the any container
In this program we are using emplace() function to change the any variable contents and this is allowed in C++ therefore the program runs fine.