download Mastguru Android App

Question Detail

What is default scope for a structure ?

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

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

  • derived class
  • base class
  • sub class
  • basic class

2. When a structure refers to itself, it is known as ?

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure

3. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

4. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

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

  • protected
  • switch
  • goto
  • for
Read more from - C++ Programming Questions Answers - Set 2
Post a comment