What is the copy-and-swap idiom?
No Answer is Posted For this Question
Be the First to Post Answer
Write the program for fibonacci in c++?
What would happen on forgetting [], while deallocating an array through new?
given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you
Is atoi safe?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Can a constructor throw a exception? How to handle the error when the constructor fails?
What is ofstream c++?
What is the use of ::(scope resolution operator)?
How can you quickly find the number of elements stored in a dynamic array?
What is private public protected in c++?
When can I use a forward declaration?