Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C++ » Questions on Virtual Table

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: | ]


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: | ]


Question: 3

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

Compiler
Level: Expert Category: vtable
[Posted by: | ]


Question: 4

(A) True
(B) False

Compiler
Level: Practitioner Category: vtable
[Posted by: | ]