Question Detail

Which is more memory efficient ?

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

1. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared

2. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

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

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

4. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

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