Loading practice questions
What is the use of type() function in any container?
Correct Answer: B — Used to return the type information about the any container
Explanation:
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.