Question Detail Which of following valid option will not return a value in c++ ? freevoidemptynull Answer: Option B Similar Questions : 1. When one class inherits from the base class, then the original class is called ? derived classbase classsub classbasic class Answer: Option B 2. Which is more memory efficient ? structureunionboth use same memorydepends on a programmer Answer: Option B 3. Can we define array of classes in c++ ? YesNo Answer: Option A 4. Which among following is correct way of declaring object of a class ? Classname Objectname;Class Classname Objectname;Class Classname Object Objectname;Classname Object Objectname; Answer: Option A 5. 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 Read more from - C++ Programming Questions Answers - Set 2