Question Detail

An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual
Similar Questions :

1. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above

2. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

3. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

4. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File

5. When a structure refers to itself, it is known as ?

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure
Read more from - C++ Programming Questions Answers - Set 2