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

Home » C++ » Interview Questions on Abstract Classes in C++

Interview Questions on Abstract Classes in C++ : 4


Question: 1

(A) Yes
(B) No

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



Question: 2

(A) Yes
(B) No

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



Question: 3

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



Question: 4

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

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



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 C++20 Time & Space Complexity others

Switch to C Questions