+ 1
How you can create a function having any number of parameters ?
Realted to C++ programming.
1 Answer
+ 1
there is some way to do this.
like use stdarg library,
use "Args ..." in c++11,
use vectors,
and etc!
read this link to better understanding:
https://stackoverflow.com/questions/1657883/variable-number-of-arguments-in-c