Answer Posted / achal
V-Table mechanism works on principle of dynamic binding
i.e. which version of the function has to be called is
decided by CPU at run time.
Use of virtual functions make the execution slower. Not all
the objects of the same class have different V-Table.
Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Explain shallow copy?
Write a struct time where integer m, h, s are its members?
Explain the advantages of using friend classes.
Which should be more useful: the protected and public virtuals?
what is a reference variable in C++?
Explain one method to process an entire string as one unit?
Array base access faster or pointer base access is faster?
Differentiate between the message and method in c++?
What is the use of namespace std in C++?
Can a built-in function be recursive?
What is a flag in c++?
How do you declare a set in c++?
What is cin clear () in c++?
What are register variables?
What is the difference between a type-specific template friend class and a general template friend class?