Question Detail

Which of the following cannot be passed to a function ?

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

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

  • True
  • False

2. When a derived class inherits from many base classes, this process is known as ?

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance

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

4. We can do constructor overloading in C++ ?

  • True
  • False

5. 78. If new operator is used, then the constructor function is ?

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor
Read more from - C++ Programming Questions Answers - Set 2