What are virtual functions and what is its use?
A virtual function is a member function that you expect to be redefined in derived classes. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class's version of the function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the auto storage classes in c++.
What is a unnitialised pointer?
Should you pass exceptions by value or by reference?
what is C++ objects?
Explain deep copy and a shallow copy?
What is Namespace?
Describe linked list using C++ with an example.
What are the rules about using an underscore in a c++ identifier?
What is static in c++?
Can we change the basic meaning of an operator in c++?
is throwing exception from a constructor not a good practice ?
What is algorithm in c++ programming?