download Mastguru Android App

Question Detail

What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve
Similar Questions :

1. Can we define array of classes in c++ ?

  • Yes
  • No

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

  • free
  • void
  • empty
  • null

3. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

4. & operator is ?

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

5. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class
Read more from - C++ Programming Questions Answers - Set 2
Post a comment