Question Detail

What among following is a generic class ?

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

1. What among following is a generic class ?

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

2. A class having no public constructors is

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

3. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

4. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

5. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null
Read more from - C++ Programming Questions Answers - Set 2