:: Home     :: Add Questions
Register   |   Login
 

Question :: What is the virtual function overhead, and what is it used for ?

Post Answer

Tags

Answers to ""

 

when use hybride inhertance,virual function avoid the ambiguity.
Answer2:
I thnk virtual fns r declared with 'virtual' keyword nd it must be redifend in the derivd classes. wen mor dan one classes derivs a methd in the base class, dat method can be writn with virtual to avoid ambiguity.

Related Questions

 
 
Copyright 2007, Megasolutions Ltd