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

Home » C++ » C++ Objective Questions (Page-14)

C++ Objective Questions - Page-14

Page 14 (261 - 280)

Question: 261

(A) Hello Derived
(B) Hello Base
(C) Hello Derived Hello Base
(D) Error: not matching func to call ‘derived::derived(cppbuzz_base&)’

Compiler
Level: Practitioner Category: typecasting
[Posted by: Admin | Chicago, USA]


Question: 262

(A) Both pointers hold same object
(B) They don't hold same object
(C) Compilation Error
(D) Exception occured

Compiler
Level: Practitioner Category: singleton
[Posted by: Admin | Chicago, USA]


Question: 263

(A)
(B)
(C)
(D)

Compiler
Level: Practitioner Category: singleton
[Posted by: Admin | Chicago, USA]


Question: 264

(A) error: cannot declare variable ‘obj’ to be of abstract type ‘cppbuzz’
(B) cppbuzz
(C) ~cppbuzz
(D) cppbuzz~cppbuzz

Compiler
Level: Practitioner Category: abstract_class
[Posted by: Admin | Chicago, USA]


Question: 265

(A) 4
(B) 8
(C) 12
(D) 16

Compiler
Level: Expert Category: abstract_class
[Posted by: Admin | Chicago, USA]


Question: 266

(A) True
(B) False

Compiler
Level: Practionar Category: virtual_func
[Posted by: GNR PRASAD | HYDERABAD]


Question: 267

(A) Compilation Error
(B) 10, 20
(C) 10, 10
(D) 10, Undfefined Value

Compiler
Level: Expert Category: classesAndobjects
[Posted by: Admin | Chicago, USA]