Interview Questions on C C++

Home  |  About Us  |  Contact
View Questions Contribute Training Misc..

C++ Objective Questions on Virtual Table: (4) Questions

You are here : Home » C++ Objective Questions on Virtual Table


Question: 1

(A) Every Class has VTable
(B) Class inherited from other Class
(C) When a Class Overrides the function of Base class
(D) Class has atleast one Virtual Function

[Posted by: Admin | Location: Chicago, USA]



Question: 2

(A) It contains VPTR
(B) It contains address of Virtual function
(C) It cotains address of Object
(D) None of these

[Posted by: Admin | Location: Chicago, USA]



Question: 3

(A) 5
(B) 1
(C) 0
(D) Depends on Compiler

[Posted by: Admin | Location: Chicago, USA]



Question: 4

(A) True
(B) False

[Posted by: Admin | Location: Chicago, USA]