oop
Class template
q1
: WAP to find MAX value of array with default argument with class template.
q2
: WAP to show use of multiple template.
q3
: WAP to show template and non template argument.
q4
: WAP to find maximum and minimum value of an array using class template.
q5
: WAP to demonstrate different functions of vector and reverse() which is algorithm.
q6
: WAP to compare 2 values using function template and display largest value. Check your program for char, int and float type data.
Function template
q1
: WAP to show more than one template mechanism.
q2
: WAP to show function template overlaoding with function.
q3
: WAP to show overloading template with template and normal function.