download Mastguru Android App

Question Detail

Enumerators are stored by the compiler in ?

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

1. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.

2. The members of a class are ?

b) by default are private
c) are made private by declaring as private
d) none of the above]

  • have no visibility by default
  • public by default
  • private by default
  • protected by default

3. & operator is ?

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

4. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array

5. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class
Read more from - C++ Programming Questions Answers - Set 2
Post a comment