When is the destructor called?
No Answer is Posted For this Question
Be the First to Post Answer
Is facebook written in c++?
Can we use resume in error handling i.e. in the catch block
what is a class? Explain with an example.
why and when we can declar member fuction as a private in the class?
a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?
Does c++ cost money?
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 function overriding in c++?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
Who calls main function?
What is an undefined behavior and sequence points
Does c++ support multilevel and multiple inheritances?