Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

What type of operations will cause the copy constructor to be invoked?

What type of operations will cause the copy constructor to be invoked?

Answers


Davis
A copy constructor is called when an initialization takes place I specifically, when one object is passed as a parameter to a function, and when a temporary object is created when an object is returned by a function.
Githiari answered the question on February 4, 2018 at 13:07

Answer Attachments

Exams With Marking Schemes

Related Questions