Variadic function: Difference between revisions

Content deleted Content added
Bluebot (talk | contribs)
m Fixed See also/External links error(s).
Volfy (talk | contribs)
m Popups-assisted disambiguation from Function to function (programming)
Line 1:
In [[computer programming]], a '''variadic function''' is a [[function (programming)|function]] of variable [[arity]]; that is, one which can take different numbers of arguments. Support for variadic functions differs widely among [[programming language]]s.
 
There are many mathematical and logical operations which come across naturally as variadic functions. For instance, the summing of numbers or the concatenation of strings or other sequences are operations that can logically apply to any number of operands.