Write overloaded functions swap for swapping data of different types

a) Write overloaded functions swap for swapping data of different types, i.e. the two
parameters of reference type character, integer and float. In main program read two
values each of character type, integer type and float type. Display the original values of
these different types and make a call to swap function and display their final values after
making a call to swap.


Leave a Reply