What is the use of reset() function?

Trung Minh

New member
What is the use of reset() function?
A. Used to destroys the contained object in any variable
B. Used to change the object any container is holding
C. Used to empty any container value
D. Used to check the type of any variable
 
Answer: a
Explanation: reset() function is provided with any to destroy an object contained in any variable in case it is not needed.
 

Tìm kiếm

Back
Top