what is the virtual function overhead, and what is it used
for ? i hope i can get and appropriate answers, thanks a lot....

Answer Posted / ashutosh bhawasinka

Refer to this.

http://www.parashift.com/c++-faq-lite/virtual-functions.html#faq-20.4

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of inheritance.

848


What is the real time example of encapsulation?

784


When not to use object oriented programming?

753


why reinterpret cast is considered dangerous?

2085


What is encapsulation c#?

794


Why do pointers exist?

857


What are the important components of cohesion?

731


Is data hiding and abstraction same?

757


Which is better struts or spring?

794


What is oops in simple words?

798


Can main method override?

810


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1602


What is new keyword in oops?

770


Why is static class not inherited?

804


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1864