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 2 1

1.
Which operator is overloaded for a cout object?

a) >>
b) <<
c) <
d) >

2.
Which of the following cannot be used with the virtual keyword?

a) Class
b) Member functions
c) Constructors
d) Destructors

3.
Which concept is used to implement late binding?

a) Virtual functions
b) Operator functions
c) Constant functions
d) Static functions

4.
Which of the following is correct?

a) C++ allows static type checking
b) C++ allows dynamic type checking.
c) C++ allows static member function to be of type const.
d) C++ allows both static and dynamic type checking

5.
Which of the following supports the concept that reusability is a desirable feature of a language?

a) It reduces the testing time
b) It reduces maintenance cost
c) It decreases the compilation time
d) It reduced both testing and maintenance time

Visitor Counter

0142293