The function name is overloaded to deal with first integers
and then characters. The function is one we should be familiar with, simply
to swap two values (maybe as part of a sorting algorithm. The function is
quite disappointing though, especially if we consider that to swap 2 double
type variables, we’d need to write a third function. Wouldn’t it be nicer
if we could just send any type to the one function and it swap them over –
afterall we only mention the type 3 times! Well, yes there is a way to do
this, and it involves using templates;