How does the copy constructor differ from the assignment operator (=)?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

0 Answers  


Difference between delete and free.

0 Answers  


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

0 Answers  


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

0 Answers   Nucleus, TCS,


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

0 Answers  






How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever

17 Answers   Datavance, Quark, VEL, Wipro,


What do you mean by internal linking and external linking in c++?

1 Answers  


Is c++ a pure oop language?

0 Answers  


What is 'Copy Constructor' and when it is called?

1 Answers  


Do we have to use initialization list in spite of the assignment in constructors?

0 Answers  


What is #include iostream in c++?

0 Answers  


What are iterators in c++?

0 Answers  


Categories