i'm trying to write a function that takes an arbitrary number of parameters that in our case are supposed to be variables of different types, and gets their values from keyboard
here is the code of function call:
int a;
float b;
char c;
string d;
getValues(a, b, c, d);
Is it possible? I think that it is, help me please