// C++ allows generic functions (or function templates) #include using namespace std; template void show(T value){ cout << "Input: " << value << endl; } int main(){ show(12); show(3.1415); show("Hello World!\n"); return (0); }