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

Home » C++ » Interview Questions on typecasting in C++

Interview Questions on typecasting in C++ : (9)


Question: 1

(A) static_cast
(B) const_cast
(C) reinterpret_cast
(D) dynamic_cast

Compiler Forum
Expert typecasting[Posted by: Admin | Chicago, USA]



Question: 2

(A) True
(B) False

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



Question: 3

(A) True
(B) False

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



Question: 4

(A) True
(B) False

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



Question: 5

(A) True
(B) False

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



Question: 6

(A) True
(B) False

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



Question: 7

(A) True
(B) False

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



Question: 8

(A) Hello Derived
(B) Hello Base
(C) Hello Derived Hello Base
(D) Hello Base Hello Derived

Compiler Forum
Practionar typecasting[Posted by: Admin | Chicago, USA]



Question: 9

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

Compiler Forum
Practionar typecasting[Posted by: Admin | Chicago, USA]