Question Detail

Enumerators are stored by the compiler in ?

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

1. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator

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. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded

4. A variable is defined within a block in a body of a function. Which of the following are true ?

  • It is visible from the point of definition to the end of the program.
  • It is visible throughout the function.
  • It is visible from the point of definition to the end of the block.
  • It is visible throughout the block.

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

  • free
  • void
  • empty
  • null
Read more from - C++ Programming Questions Answers - Set 2