download Mastguru Android App

Question Detail

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
Similar Questions :

1. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

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

3. What is data hiding ?

  • It is related with hiding internal object details
  • It is related with showing internal object details
  • It is related with datatypes
  • None of above

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. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or
Read more from - C++ Programming Questions Answers - Set 2
Post a comment