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.

Filter by
Sorted by
Tagged with
8 votes
6 answers
994 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 ...
CPlus's user avatar
  • 7,891