C++ MCQ’s

C++ MCQ’s Home Page

C++ Basic 1
C++ Basic 2
C++ Basic 3
C++ Basic 4
C++ Basic 5
C++ OOPs Concepts 1
C++ OOPs Concepts 2
C++ OOPs Concepts 3
C++ OOPs Concepts 4
C++ OOPs Concepts 5

 

C++ Language MCQ’S | OOPs Concepts Set 1

21.
How compile-time polymorphisms are implemented in C++?

a) Using Inheritance
b) Using Virtual functions
c) Using Templates
d) Using Inheritance and Virtual functions

22.
Which of the following is an abstract data type?

a) int
b) float
c) class
d) string

23.
Which concept means the addition of new components to a program as it runs?

a) Data hiding
b) Dynamic binding
c) Dynamic loading
d) Dynamic typing

24.
Which of the following explains the overloading of functions?

a) Virtual polymorphism
b) Transient polymorphism
c) Ad-hoc polymorphism
d) Pseudo polymorphism

25.
Which of the following approach is used by C++?

a) Top-down
b) Bottom-up
c) Left-right
d) Right-left

Visitor Counter

0056709