download Mastguru Android App

Question Detail

Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void
Similar Questions :

1. Constructors has return type void ?

  • True
  • False

2. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

3. The major goal of inheritance in C++ is ?

  • To facilitate the reusability of code
  • To help modular programming
  • To facilitate the conversion of data types
  • To extend the capabilities of a class

4. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

5. When a structure refers to itself, it is known as ?

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure
Read more from - C++ Programming Questions Answers - Set 2
Post a comment