Question Detail

Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void
Similar Questions :

1. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

2. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.

3. 78. If new operator is used, then the constructor function is ?

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor

4. Which operators can not be overloaded ?

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

5. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above
Read more from - C++ Programming Questions Answers - Set 2