Is deconstructor overloading possible? If yes then explain and if no
Then why?
No, we cannot overload a destructor of a class in C++ programming. Only one empty destructor per class should be there.So, multiple destructor with different signatures are not possible in a class. Hence, overloading is also not possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
dynamic scoping is
How many times will this loop execute? Explain your answer.
Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70
What is a virtual base class?
What is constant keyword in C++? Illustrate its various uses.
0 Answers Akamai Technologies, Infogain,
How to convert integer to string in C++
If class D is derived from a base class B
What is static variable and difference between(const char *p,char const *p,const char* const p).
There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?
What are issues if we mix new and free in C++?
Tell me about virtual function
To solve the 8 Queens problem, which algorithm is used?