Question Detail

Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above
Similar Questions :

1. How we can access data members using objects ?

  • object@datamember
  • object*datamember
  • object->datamember
  • object.datamember

2. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

3. The private data members of a class are accessible ?

  • Directly to objects of that class
  • To any function defined outside a class
  • Only to the member functions
  • Only using keyword static

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

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

5. Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void
Read more from - C++ Programming Questions Answers - Set 2