download Mastguru Android App

Question Detail

Enumerators are stored by the compiler in ?

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

1. What is true about Constructor ?

  • Its name is plural of class name.
  • Its name has * symbol before it.
  • Its name is same as of class name.
  • Its name has # symbol before it.

2. Explicit call to a constructor means ?

  • Not providing the construction name at all
  • Is the shorthand method
  • Providing the constructor name explicitly to invoke it
  • Providing the constructor name implicitly to invoke it

3. Which among following is correct way of declaring object of a class ?

  • Classname Objectname;
  • Class Classname Objectname;
  • Class Classname Object Objectname;
  • Classname Object Objectname;

4. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above

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