download Mastguru Android App

Question Detail

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

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure
Similar Questions :

1. Constructors has return type void ?

  • True
  • False

2. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

3. An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual

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

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

5. 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.
Read more from - C++ Programming Questions Answers - Set 2
Post a comment