Hi,
Can someone expain why ompiler provide default Copy Constructor for every class. As i know there is only one reason that if Compiler does not provide the copy constructor, f we pass the object by value or we create a new object from existing object or we return object as value then our programme struck in infinite loop.Is there any other reason for compiler to provide default copy constructor.
Secondly i need to know the difference between copy constrcutor and assignment operator.
Thanks in Advance.