Difference between a copy constructor and an assignment operator.


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

Post New Answer

More C++ General Interview Questions

State the difference between pre and post increment/decrement operations.

0 Answers  


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


Write a struct time where integer m, h, s are its members?

0 Answers  


What does it mean to declare a destructor as static?

0 Answers  


Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.

7 Answers   LG, Samsung,


What is meant by reference variable in C++?

1 Answers  


What is fixed in c++?

0 Answers  


Write the program for fibonacci in c++?

20 Answers   TATA, Wipro,


What is this weird colon-member (" : ") syntax in the constructor?

0 Answers  


Why #include is used?

0 Answers  


Will this c++ program execute or not?

0 Answers  


What do you mean by stack unwinding in c++?

0 Answers  


Categories