download Mastguru Android App

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. int *ptr[5];

  • a pointer of 5 int elements
  • an array of 5 int pointers
  • an array of 5 elements returning an int value
  • none of above

2. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

3. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

4. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

5. Inheritance is transitive in nature.

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment