1. What is a template? List the merits and demerits of using a template in C++.
2. In what way a template increases the efficiency of designing a program?
3. What are the disadvantages of using a function template in C++?
4. Define a function template.
5. Explain how a function template is defined and declared in a program.