English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Which of the following constructor is executed for the following prototype? add display( add and); // add is a class name - Computer Science

Advertisements
Advertisements

Question

Which of the following constructor is executed for the following prototype?
add display( add &);     // add is a class name

Options

  • Default constructor

  • Parameterized constructor

  • Copy constructor

  • Non-Parameterized constructor

MCQ

Solution

Copy constructor

shaalaa.com
  Is there an error in this question or solution?
Chapter 14: Classes and objects - Evaluation - Section – A [Page 247]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 14 Classes and objects
Evaluation - Section – A | Q 8. | Page 247
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×