what is COPY CONSTRUCTOR and what is it used for?


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

Post New Answer

More C++ General Interview Questions

What are c++ storage classes?

0 Answers  


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


Types of storage and scope of each type

2 Answers   CA,


Can I make ios apps with c++?

0 Answers  


What is #include c++?

0 Answers  






differance between copy & clon

1 Answers   Microsoft,


What is the best ide for c++?

0 Answers  


What is implicit pointer in c++?

0 Answers  


difference between macro and function?

3 Answers  


Explain bubble sorting.

0 Answers  


How const int *ourpointer differs from int const *ourpointer?

0 Answers  


Difference between delete and free.

0 Answers  


Categories