Question Detail

Which of the following cannot be passed to a function ?

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

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

2. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

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

  • Array
  • Reference variable
  • Object
  • File

4. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

5. 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
Read more from - C++ Programming Questions Answers - Set 2