Find the output of C++ Program

What will be the output of the below C++ program: // Template Function - Not taking class template <class T, int i> int myFun(){ T […]

Function Templates in C++

What are function templates in C++? Why and how are they used ?