Which among the following is the proper syntax for the template class?
(a) template <typename T1, typename T2>;
(b) Template <typename T1, typename T2>;
(c) template <typename T> T named(T x, T y){ }
(d) Template <typename T1, typename T2> T1 named(T1 x, T2 y){ }
I have been asked this question by my school teacher while I was bunking the class.
This key question is from Template Class topic in chapter Classes of Object Oriented Programming