C++ Objective Questions on Virtual Table: (4) Questions
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
Compiler
Level: Expert Category: vtable
[Posted by: Admin | 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
Compiler
Level: Practitioner Category: vtable
[Posted by: Admin | Chicago, USA]
Question: 3
(A) 5
(B) 1
(C) 0
(D) Depends on Compiler
Compiler
Level: Expert Category: vtable
[Posted by: Admin | Chicago, USA]
Question: 4
(A) True
(B) False
Compiler
Level: Practitioner Category: vtable
[Posted by: Admin | Chicago, USA]
C++ Online Test
Compile C++ code here
Browse C++ Categories
Loops Conditional Functions Operators Structure Enum Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Virtual Functions Abstract Class STL Singleton Class Exceptions C++ 11 C++ 17 Time & Space Complexity othersSwitch to C Questions