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
What is static class data?
Is there any difference between int [] a and int a [] in c++?
How can you specify a class in C++?
What are c++ templates used for?
What is a responder chain?
How would you use the functions memcpy(), memset(), memmove()?
What is c++ programming language?
What is setfill c++?
What is #include math h in c++?
Is swift faster than go?
How did c++ get its name?
What is a rooted hierarchy?
What are the advantage of using register variables?
Can a program run without main?
Please explain the reference variable in c++?