download Mastguru Android App

Question Detail

Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File
Similar Questions :

1. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

2. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.

3. Inheritance is referred to as

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

4. How we can access data members using objects ?

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

5. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded
Read more from - C++ Programming Questions Answers - Set 2
Post a comment