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
Increment and Decrement Operators.   The operator for increment is '++' and decrement is '-'. These operators enhances or decrease the value of a variable on which they are ope

#questioA Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a str


Project Description: Currently seeking someone who can create me a software application (google chrome crx file_ that will auto add all shoe sizes to cart directly and if not av

How do I allocate multidimensional arrays by new? A: There are several ways to do this, based on how flexible you wish the array sizing to be. On one acute, if you know all the


WAP TO PRINT NUMBERS FROM 1-50 WHICH ARE DIVIDED BY 7 void main () { int a; clrscr (); a=1; while (a { if (a%7==0) printf ("%d\n",a); a++; } ge

wap to print padovan string in c

Prepare Windows Shell Extension Project Description: Skills required are C++ Programming, Windows Desktop, Windows API

draw the flow chart to print the fibonacci series upto n th terms