Answer Posted / hrpynux@gmail.com
A C++ virtual function is a member function in the base class that you redefine in a derived class. It is declared using the virtual keyword. It is used to tell the compiler to perform dynamic linkage or late binding on the function. ... A 'virtual' is a keyword preceding the normal declaration of a function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe the advantage of an external iterator.
Explain shallow copy?
Difference between a copy constructor and an assignment operator.
What is enum class in c++?
Can we call a virtual function from a constructor?
What is the best way to declare and define global variables?
What is the difference between *p++ and (*p)++ ?
Why is c++ still used?
What is the use of seekg in c++?
Can we use pointers in c++?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
What is istream c++?
give me an example for testing a program showing the test path .show how the test is important and complex.
What is stl in oop?
What does ios :: app do in c++?