What is the use of reset() function?
Used to destroys the contained object in any variable
Used to change the object any container is holding
Used to empty any container value
Used to check the type of any variable
Correct Answer: D — Used to check the type of any variable
Explanation:
has_value() function is provided to check whether a given any container is empty or not.