What is difference between assignment operator and copy constructor?
And any websites to study c and c++?
They both copy one object to the other, but the first one copies when both objects are created, and the second one copies when you are creating the second one. In other words, the copy constructor will be called when you construct an object (by copying another object to the current one).
There are many. How about: http://www.cplusplus.com/doc/tutorial/