Contents

From where the template class derives?
a) regular non-template                                     
b) templated class
c) both a & b                       
d) none of these

c

Can we have overloading of the function templates?
a) yes                                    
b) no                      
c) may be                             
d) can’t say

a

A container class is a class whose instances are……..
a) containers                       
b) functions
c) strings                                               
d) none of these

a

Which of the things does not require instantiation?
a) functions         
b) non-virtual function
c) member class  
d) all of these

d

Which keyword can be used in template?
a) class                                  
b) type name
c) both a & b                       
d) function

c

What is the validity of template parameters?
a) inside the block only                    
b) inside the class
c) whole program
d) inside the main class

a