Explore topic-wise MCQs in Object Oriented Programming Using C++.

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

1.

Which among the following is the main advantage of using local classes?

A. Make program more efficient
B. Makes program execution faster
C. Helps to add extra functionality to a function
D. Helps to add more members to a function
Answer» D. Helps to add more members to a function
2.

The enclosing function has no special access to the members of the local class.

A. True
B. False
Answer» B. False