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 process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

2. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

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

4. Queues are based on ?

  • LIFO
  • FIFO
  • LILO
  • FILO

5. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends
Read more from - C++ Programming Questions Answers - Set 2