Start learning →

What purpose does a copy constructor serve in a program?

ADeleting an old object
BCopying an existing one
CMoving files in storage
DCompiling project code
Answer & Solution
Correct answer: B. Copying an existing one
Copy constructors create a duplicate of an existing object of that class.
Practise this question with Quill — ICSE Class 10 →

Keep practising User-Defined Methods and Constructors

Browse all User-Defined Methods and Constructors questions for ICSE Class 10, or explore more Computer Applications topics.

Start a User-Defined Methods and Constructors lesson →