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. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

2. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class

3. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

4. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded

5. 66. A constructor function is generally defined

  • In the private section of a class
  • In the public section of a class
  • In the protected section of a class
  • None of the 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