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. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

2. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

3. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File

4. How we can access data members using objects ?

  • object@datamember
  • object*datamember
  • object->datamember
  • object.datamember

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
Post a comment