download Mastguru Android App

Question Detail

What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above
Similar Questions :

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

2. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve

3. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

4. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared

5. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above
Read more from - C++ Programming Questions Answers - Set 2
Mastguru Youtube Channel

Videos @mastguru

Get Free Current Affairs and Govt Jobs Alerts in your mailbox

To Appreciate Our Effort, Please Like Us