1.

Which of the following is used to identify the copy constructor class type X?(i) (X&)  (ii) X(&X)  (iii) X(X&)   (iv) X(X)Justify your answer.

Answer»

X(X&) is used to identify the copy constructor class type X as copy constructor is a constructor of the form classname (classame &).



Discussion

No Comment Found

Related InterviewSolutions