iGET

C++ Programming - MCQ Practice Questions

C++ MCQs — OOP, STL, pointers, templates for coding rounds & IT exams.

100 questions | 100% Free

Q.21Easy

What does polymorphism literally mean?

Q.22Easy

Which C++ feature allows a function to work with objects of different types through a common interface?

Q.23Easy

Which of the following best describes the concept of function overloading?

Q.24Easy

What is the significance of the 'this' pointer in C++?

Q.25Easy

Which access specifier should be used when a derived class needs to access a base class member but external classes should not?

Q.26Easy

A class member declared as 'private' can be accessed by:

Q.27Easy

Which type of inheritance allows multiple classes to inherit from a single base class?

Q.28Easy

A pure virtual function is declared using which syntax in C++?