problem 1: What do you mean by generic programming? How is it implemented in the c++?
problem 2: A template can be considered as a type of macro. Then, what is the basic difference between them?
problem 3: Differentiate between the overloaded functions and function templates.
problem 4: Differentiate between the word class template and the template class.
problem 5: A class template is termed as a parameterized class. Comment on it.
problem 6: prepare down a function template for determining the minimum value contained in an array.
problem 7: prepare down a class template to represent a generic vector. Comprise member functions to perform the given tasks:
a) To make the vector
b) To change the value of a given element
c) To multiply by a scalar values
d) To display the vector in the form (10, 20, 30 …)