download Mastguru Android App

Question Detail

Which of the following cannot be passed to a function ?

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

1. int *ptr[5];

  • a pointer of 5 int elements
  • an array of 5 int pointers
  • an array of 5 elements returning an int value
  • none of above

2. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null

3. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private 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. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment