How do you invoke a base member function from a derived class in which you’ve overridden that function?
Answer / Vijendra Singh
To call the base implementation of an overridden function in C++, use the `base::` keyword followed by the scope resolution operator (::) and the function name. For example: `base::functionName()`.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is virtual destructor ans explain its use?
Is c++ high level programming language?
Which of the following is evaluated first: a) && b) || c) !
If I is an integer variable, which is faster ++i or i++?
Explain about vectors in c ++?
what is meaning of isa and hsa
Please explain class & object in c++?
What is == in programming?
Generally variables are stored in heap memory. When he variables are created in stack?
When can I use a forward declaration?
What are static member functions?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?