download Mastguru Android App

Question Detail

A virtual base class ?

  • is qualified as virtual in base class definition.
  • do not qualified as virtual in base class definition.
  • allows to inherit more than one copy of the base class members.
  • strict the path of inheritance.
Similar Questions :

1. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

2. The function used to define the task assigned to an operator is ?

  • Virtual function
  • Static function
  • Operator function
  • Friend function

3. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

4. Operator overloading is ?

  • giving new meaning to existing c++ operators
  • making c++ operators work with objects
  • giving c++ operators more than they can handle
  • making new c++ operators

5. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator
Read more from - C++ Programming Questions Answers - Set 2
Post a comment