Loading practice questions
Copy constructor will be called whenever the compiler __________
Correct Answer: 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.