what is virtual function?
Answer Posted / manav sharma
It allows one to write generalized code that works with the
base class pointer which can dynamically point to the
derieved class objects. Virtual function allows you to
implement runtime polymorphism. It allows the function call
to be binded with function definition as late as runtime.
Also read: concept of VPTR and VTABLE from Thinking in C++
| Is This Answer Correct ? | 56 Yes | 8 No |
Post New Answer View All Answers
What is polymorphism and example?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is static in oop?
What is the point of polymorphism?
Explain the concepts involved in Object Oriented programming.
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
program for insertion ,deletion,sorting in double link list
What exactly is polymorphism?
What is constructor overloading in oop?
What is polymorphism explain its types?
What is object in oop?
Why it is called runtime polymorphism?
What causes polymorphism?
write a program that takes input in digits and display the result in words from 1 to 1000