#include <iostream> using namespace std; template <class type1, class type2> void f(type1 x, type2 y) { cout << x << ' ' << y << '\n'; } int main() { f(10, "AAAAA"); f(98.6, 19L); f('C', 'V'); f('C', 0); return 0; }
10 AAAAA 98.6 19 C V C 0