Question Detail Which of following valid option will not return a value in c++ ? freevoidemptynull Answer: Option B Ad Similar Questions : 1. 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 2. What among following is a generic class ? Function TemplateClass TemplateInherited TemplateNone of above Answer: Option B 3. 78. If new operator is used, then the constructor function is ? Copy constructorDefault constructorStatic constructorDynamic constructor Answer: Option D 4. Data members and member functions are enclosed within ? unionstructureclassarray Answer: Option C 5. A variable is defined within a block in a body of a function. Which of the following are true ? It is visible from the point of definition to the end of the program.It is visible throughout the function.It is visible from the point of definition to the end of the block.It is visible throughout the block. Answer: Option B Read more from - C++ Programming Questions Answers - Set 2