Explore topic-wise MCQs in C++ Programming.

This section includes 56 Mcqs, each offering curated multiple-choice questions to sharpen your C++ Programming knowledge and support exam preparation. Choose a topic below to get started.

51.

Which of the following operators cannot be overloaded?

A. []
B. ->
C. ?:
D. *
Answer» D. *
52.

Which of the following is not a type of constructor?

A. Copy constructor
B. Friend constructor
C. Default constructor
D. Parameterized constructor
Answer» C. Default constructor
53.

Which one of the following options is correct?

A. Friend function can access public data members of the class.
B. Friend function can access protected data members of the class.
C. Friend function can access private data members of the class.
D. All of the above.
Answer» E.
54.

Which of the following concepts means adding new components to a program as it runs?

A. Data hiding
B. Dynamic typing
C. Dynamic binding
D. Dynamic loading
Answer» E.
55.

Which of the following is a mechanism of static polymorphism?

A. Operator overloading
B. Function overloading
C. Templates
D. All of the above
Answer» E.
56.

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

A. Virtual class
B. Abstract class
C. Singleton class
D. Friend class
Answer» D. Friend class