I created a template function called add
like this
template(class T)
T add(T a, T b)
{

return a + b;

}

now this will work for number types like int float, and string , but will not work for char .
how can i say if ( T is char ) or
(a is char) (b is char )
then
concatnate(a,b)