Question Detail Which of the following keywords are used to control access to a class member ? protectedswitchgotofor Answer: Option A Similar Questions : 1. Which variables cannot be declared ? structurepointerclassvoid Answer: Option D 2. The objects can directly access ? Public membersPrivate membersBoth of aboveNone of above Answer: Option A 3. The major goal of inheritance in C++ is ? To facilitate the reusability of codeTo help modular programmingTo facilitate the conversion of data typesTo extend the capabilities of a class Answer: Option A 4. Can we define array of classes in c++ ? YesNo Answer: Option A 5. The antonym of constructor is ? CreatorDistinctDestroyerDestructor Answer: Option D Read more from - C++ Programming Questions Answers - Set 2