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 is a type library?

0 Answers  


class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;

1 Answers   Quark,


Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.

0 Answers   TCS,


Why is c++ considered difficult?

0 Answers  


What is the use of ‘using’ declaration?

1 Answers  






What are the different data types present in C++?

1 Answers  


Difference between a homogeneous and a heterogeneous container

0 Answers  


What is lazy initialization in c++?

0 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,


what is an array

17 Answers  


How does class accomplish data hiding in c++?

0 Answers  


Specify different types of decision control statements?

0 Answers  


Categories