download Mastguru Android App

Question Detail

Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer
Similar Questions :

1. The function used to define the task assigned to an operator is ?

  • Virtual function
  • Static function
  • Operator function
  • Friend function

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

  • Array
  • Reference variable
  • Object
  • File

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

4. & operator is ?

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

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