I want to know i can i define a function which accepts any no of arguments.
In MSDN there is an example given but in that we have to specify the sequence in which the data type will appear or there is another example which accepts any no. of integer data but the argument list always ends with -1.
I want something like this
int variable(int i,...);
and this function should a accept any no. of arguments in any order.
The data type can be user defined or all other basic types.
is it possible?
thanks n regards