Questions tagged [variadic-functions]
For questions about variadic functions, functions in programming languages that can accept a variable number of arguments. Unlike regular functions that have a fixed number of parameters, variadic functions allow for flexibility by enabling the passing of different numbers of arguments at runtime.
1 question
9
votes
6
answers
2k
views
Do variadic functions need to have a different calling convention to regular functions?
In C, calling a variadic functions are 'special' and not to be treated as regular functions or vice versa. Calling a variadic function through a regular function pointer, or vice-versa invokes ...