Question Detail

Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined
Similar Questions :

1. 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

2. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

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

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

4. 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.

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

  • Virtual function
  • Static function
  • Operator function
  • Friend function
Read more from - C++ Programming Questions Answers - Set 2