download Mastguru Android App

Question Detail

Which is more memory efficient ?

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

1. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above

2. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for

3. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

4. Which operators can not be overloaded ?

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

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
Post a comment