Which of the following statements is INCORRECT about copy constructor in C++?
2022
Which of the following statements is INCORRECT about copy constructor in C++?
Answer: A. It is the constructor that does not accept parameters.
- A.
It is the constructor that does not accept parameters.
- B.
It is member function of a class.
- C.
It is used to initialise the object by another object.
- D.
It accepts objects of the same class as a reference.
Attempted by 501 students.
Show answer & explanation
Correct answer: A
Loading lesson…