Computer Science, asked by akshayraj933, 8 months ago

Difference between dynamic constructor and copy constructor in c++

Answers

Answered by ʙʀᴀɪɴʟʏᴡɪᴛᴄh
3

Answer:

A copy constructor is an overloaded constructor whereas an assignment operator is a bitwise operator. Using copy constructor you can initialize a new object with an already existing object. On the other hand, an assignment operator copies one object to the other object, both of which are already in existence.

Answered by Anonymous
1

Answer:

A copy constructor is an overloaded constructor whereas an assignment operator is a bitwise operator. Using copy constructor you can initialize a new object with an already existing object. On the other hand, an assignment operator copies one object to the other object, both of which are already in existence.

Similar questions