When do you call copy constructors?


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

Post New Answer

More C++ General Interview Questions

What is the type of 'this' pointer? When does it get created?

0 Answers  


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

0 Answers  


How much is c++ certification?

0 Answers  


Which is the best c++ compiler for beginners?

0 Answers  


What is a class template?

0 Answers  






What is the purpose of template?

0 Answers  


Comment on c++ standard exceptions?

0 Answers  


What is a constructor initializer list and when we use constructor initializer list?

3 Answers   Soft Info, TCS,


program to print this triangle * * * * * *

12 Answers   Infosys,


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,


What size is allocated to the union variable?

0 Answers  


What are advantages of using friend classes?

0 Answers  


Categories