CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » C++ » Interview Questions on Inheritance in C++

Interview Questions on Inheritance in C++ : (8)


Question: 1

(A) XY~X~Y
(B) XY~Y~X
(C) X~XY~Y
(D) X~X~YY

Compiler DiscussOnForum
Expert inheritance[Posted by: Admin | Chicago, USA]



Question: 2

(A) 1
(B) 2
(C) 3
(D) 4

Compiler DiscussOnForum
Beginner inheritance[Posted by: Admin | Chicago, USA]



Question: 3

(A) TRUE
(B) FALSE

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 4

(A) Polymorphism
(B) Inheritance
(C) Function overloading
(D) None of these

Compiler DiscussOnForum
Practitioner inheritance[Posted by: Andrew | New Jersey]



Question: 5

(A) True
(B) False

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 6

(A) True
(B) False

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 7

(A) Car
(B) Vehicle
(C) protected
(D) None

Compiler DiscussOnForum
Beginner inheritance[Posted by: Andrew | New Jersey]



Question: 8

(A) 100
(B) 0
(C) Compilation Error
(D) Garbage Value is printed

Compiler DiscussOnForum
Expert inheritance[Posted by: Admin | Chicago, USA]


Compile C++ code here Upload your Questions

Browse C++ Categories

Loops Conditional Functions Operators Structure Enum Storage Classes Union FileHandling Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Reference Variables Static Cast Dynamic Cast Reinterpret Cast Const Cast Virtual Functions Abstract Class STL Singleton Class C++ 11 C++ 14 C++ 17 C++ 20 gcc/g++ others

Switch to C Questions