What is the copy-and-swap idiom?


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

Post New Answer

More C++ General Interview Questions

Why do we use string in c++?

0 Answers  


Write about the local class and mention its use?

0 Answers  


What is the use of class in c++?

0 Answers  


when can we use copy constructor?

6 Answers   HP,


What is an overflow error?

0 Answers  






What is the difference between the compiler and the preprocessor?

0 Answers  


What's the order in which the local objects are destructed?

0 Answers  


what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of variables in any code block d. separation of compilation and linking

2 Answers   Hughes,


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

0 Answers  


check whether a no is prime or not.

3 Answers   TCS,


Why is c++ still used?

0 Answers  


why the size of an empty class is 1

4 Answers  


Categories