In mathematics and in computer programming, a variadic function is a function of indefinite arity, i.e., one which accepts a variable number of arguments. Support for variadic functions differs widely among programming languages. The term variadic is a neologism, dating back to 1936–1937.
What does variadic mean?
From Wikipedia, the free encyclopedia. In computer science, an operator or function is variadic if it can take a varying number of arguments; that is, if its arity is not fixed.
What is a variadic function in C++?
Variadic functions are functions (e.g. std::printf) which take a variable number of arguments. To declare a variadic function, an ellipsis appears after the list of parameters, e.g. int printf(const char* format...);, which may be preceded by an optional comma.