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 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.

3. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

4. Classes that can be used to instantiate objects are called concrete classes.

  • True
  • False

5. Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls
Read more from - C++ Programming Questions Answers - Set 2