kb/data/en.wikipedia.org/wiki/Variadic-0.md

22 lines
880 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Variadic"
chunk: 1/1
source: "https://en.wikipedia.org/wiki/Variadic"
category: "reference"
tags: "science, encyclopedia"
date_saved: "2026-05-05T11:40:10.726535+00:00"
instance: "kb-cron"
---
In computer science, a variadic function, operator, or other construct is one that accepts a variable number of arguments; that is, its arity is not fixed. Variadic constructs are commonly used in programming languages to provide flexible interfaces that can operate on varying numbers of inputs.
The term variadic is a neologism, dating back to 1936/1937. The term was not widely used until the 1970s.
== See also ==
Variadic function Function with variable number of arguments
Variadic macro Macro taking a varying number of arguments
Variadic template Templates in computer programming
Arity Number of arguments required by a function
== References ==