Loading practice questions
Copy constructor will be called whenever the compiler __________
(B) Generates temporary object
Explanation:
Whenever the compiler creates a temporary object, copy constructor is used to copy the values from existing object to the temporary object.