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
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
Difference between class and structure.
What c++ library is string in?
What is a stack? How it can be implemented?
Is c++ a good beginners programming language?
What is a memory leak in C++?
Is java as fast as c++?
What is polymorphism and its type in c++?
Explain the uses oof nested class?
What are Agilent PRECOMPILERS?
what are Access specifiers in C++ class? What are the types?
How Do you Code Composition and Aggregation in C++ ?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
Give example of a pure virtual function in c++?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?