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. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above

2. An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual

3. The default visibility mode while inheriting is ?

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

4. The derived class constructor

  • never passes any values to base class constructor
  • can pass arguments only to one base class constructor function
  • is responsible for passing the entire test of arguments needed by base class constructors
  • none of above

5. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment