Question Detail

Which of the following cannot be passed to a function ?

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

1. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded

2. 66. A constructor function is generally defined

  • In the private section of a class
  • In the public section of a class
  • In the protected section of a class
  • None of the above

3. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.

4. The symbol ** __ .

  • can be overloaded by changing its datatype.
  • cannot be overloaded, as on overloading its meaning shall be changed.
  • can be overloaded.
  • cannot be overloaded as it is not a C++ operator.

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