download Mastguru Android App

Question Detail

Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above
Similar Questions :

1. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above

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. When a structure refers to itself, it is known as ?

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure

4. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above

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

  • virtual
  • public
  • static
  • private
Read more from - C++ Programming Questions Answers - Set 2
Post a comment