Define copy constructor.


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

Post New Answer

More C++ General Interview Questions

Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

0 Answers  


List the merits and demerits of declaring a nested class in C++?

0 Answers  


class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4

4 Answers   Quark,


Define a conversion constructor?

0 Answers  


Define basic type of variable used for a different condition in C++?

0 Answers  






What is the use of register keyword with the variables?

0 Answers  


What is encapsulation in C++? Give an example.

0 Answers   HAL, Honeywell, Zomato,


What is the extension of c++?

0 Answers  


Who created c++?

0 Answers  


What is an object in c++?

0 Answers  


Why namespace is used in c++?

0 Answers  


What are literals in C++?

0 Answers   Wipro,


Categories