Explain what happens when a pointer is deleted twice?
No Answer is Posted For this Question
Be the First to Post Answer
What is the full form of ios?
How do you know that your class needs a virtual destructor?
What is difference between n and endl in c++?
What is the stack?
What is an Object/Instance?
How does com provide language transparency?
What is the difference between public, private, and protected access?
Explain how the virtual base class is different from the conventional base classes of the opps.
What is the use of map in c++?
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list
What is meant by iomanip in c++?
What is c++ library?