• CALL US: +91-8561868421
  • Address: Plont No 67 OM Shiv Colony Jhotwara Jaipur-12

C++ Language Quiz

(Total Question : 30)

Q.1

Which of the following type of class allows only one object of it to be created?

Q.2

Which of the following is not a type of constructor?

Q.3

Which of the following statements is correct?

Q.4

Which of the following concepts means determining at runtime what method to invoke?

Q.5

Which of the following is a mechanism of static polymorphism?

Q.6

Which of the following statement is correct?

Q.7

Which of the following statement will be correct if the function has three arguments passed to it?

Q.8

Which of the following statement is correct?

Q.9

Which of the following function / type of function cannot be overloaded?

Q.10

Which of the following statement is correct?

Q.11

Which of the following statement is correct?

Q.12

Which of the following statement is correct about the references?

Q.13

A reference is declared using the _____ symbol.

Q.14

Which of the following statement is correct?

Q.15

Which of the following statement is correct?

Q.16

Which of the following statements is incorrect?

Q.17

Which of the following statement is correct regarding destructor of base class?

Q.18

Which of the following two entities (reading from Left to Right) can be connected by the dot operator?

Q.19

How can we make a class abstract?

Q.20

Which of the following statements is correct when a class is inherited publicly?

Q.21

A constructor that accepts __________ parameters is called the default constructor.

Q.22

Can a class have virtual destructor?

Q.23

Destructor has the same name as the constructor and it is preceded by ______ .

Q.24

For automatic objects, constructors and destructors are called each time the objects

Q.25

Which constructor function is designed to copy objects of the same class type?

Q.26

Copy constructor must receive its arguments by __________ .

Q.27

Constructors __________ to allow different approaches of object construction.

Q.28

Which of the following statement is correct?

Q.29

Which of the following cannot be declared as virtual?

Q.30

Which of the following are NOT provided by the compiler by default?