Question Detail How to define a destructor X~() {}X() {}~X() ~{}~X() {} Answer: Option D Similar Questions : 1. Meaning of deed copy is A deep copy creates a copy of the dynamically allocated objects tooA deep copy just copies the values of the data as they areA deep copy creates a copy of the statically allocated objects tooBoth A and C Answer: Option A 2. Which of the following type of class allows only one object of it to be created Virtual classAbstract classSingleton classFriend class Answer: Option C 3. Stack unwinding deals with deals with polymorphismdeals with inheritancedeals with exception handingdeals with classes Answer: Option C 4. Difference between static and dynamic memory allocation is In static memory allocation memory to be allocated in preknownIn dynamic memory allocation memory to be allocated in preknownThere is no differneceNot exact difference is mentioned Answer: Option A 5. Which is not a correct variable type floatintdoublereal Answer: Option D Read more from - C++ Programming Questions Answers - Chapter 1