Comment Comment by shivajikobardan Correct me if I'm wrong: In int main, "complex c3(c2)" creates a copy of c2 and thus passes c2 to copy constructor.In copy constructor, "complex(complex c)" copy constructor takes c=c2.So what's the issue with this? parent shivajikobardan 3 years ago
In copy constructor, "complex(complex c)" copy constructor takes c=c2.
So what's the issue with this?