119. Copy Semantics-I

Question.3

Which of these calls the copy constructor and which calls the copy assignment operator?

Buffer a(10);
Buffer b = a;     // Line 1
Buffer c(20);
c = a;            // Line 2
Need Help? Refer to the Quick Guide below

Select Answer