Answer Posted / nashiinformaticssolutions
• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why can templates only be implemented in the header file?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What is a driver program?
Which should be more useful: the protected and public virtuals?
Write a program using display() function which takes two arguments.
Is c++ high level programming language?
Explain binary search.
Do you know what are pure virtual functions?
Comment on assignment operator in c++.
Does c++ support multilevel and multiple inheritances?
what does the following statement mean? int (*a)[4]
What is a class definition?
What is the main function c++?
Why is c++ awesome?
What apps are written in c++?