✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
template <class T > T sum (T * a, T * b)
{T f = 1;
return (* a + * b) - f;
}
int main ()
{Int i = 5, j = 1; double x = 5., y = 6 .;
cout < < sum (& i, & j) < < "" < < sum (& x, & y);
}
(C++)