copy constructor and an overloaded assignment operator?, C/C++ Programming

What is the distinction among a copy constructor and an overloaded assignment operator?

 

 

 

Posted Date: 3/15/2013 3:54:45 AM | Location : United States





A: A copy constructor builds up a new object using the content of the argument object. Any overloaded assignment operator assigns the contents of presented object to another existing object of the similar class.

Posted by | Posted Date: 3/15/2013 3:55:15 AM


Related Discussions:- copy constructor and an overloaded assignment operator?, Assignment Help, Ask Question on copy constructor and an overloaded assignment operator?, Get Answer, Expert's Help, copy constructor and an overloaded assignment operator? Discussions

Write discussion on copy constructor and an overloaded assignment operator?
Your posts are moderated
Related Questions
c program to implement least cost method

smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

I Want a answer for solving the big M method in the topic of simplex method...


A company needs 200 pencils per year . you cannot simply use this price as the cost of pencils two years from now. Because of inflation the cost is likely to be higher than it is

Abstraction is of the process of hiding unwanted details from the user


Threaded binary tree: Consider the linked illustration of a binary tree 'T.  Approximately half of the entries is the pointer fields 'LEFT' and 'RIGHT' will have null elements. Th

What are some guidelines / "rules of thumb" for overloading operators? A: Here are a few guidelines / rules of thumb .Use common sense. If your overloaded operator makes life si

decodes the sending smuggler string from the number format into plain text