Question Detail Which variables cannot be declared ? structurepointerclassvoid Answer: Option D Similar Questions : 1. When a derived class inherits from many base classes, this process is known as ? multiple inheritancemultilevel inheritancedefault inheritancemultiplex inheritance Answer: Option A 2. 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 3. An explicitly defined destructor function may be virtualmay not be virtualwill always be virtualwill never be virtual Answer: Option A 4. Inheritance is referred to as “is a” relationship"have a" relationshipboth of abovenone of above Answer: Option A 5. What is default visibility mode for members of classes in C++ ? PrivatePublic ProtectedDepends Answer: Option A Read more from - C++ Programming Questions Answers - Set 2