Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the correct term for the '...' token?

Tags:

c++

c

terminology

Consider printf:

int printf ( const char * format, ... );

What are the terms used to describe the ... and the functions that use it? I've been calling it an ellipsis, but that's like calling & the "ampersand operator."

like image 505
Maxpm Avatar asked Feb 08 '11 19:02

Maxpm


People also ask

What is another term for token?

Some common synonyms of token are mark, note, sign, and symptom. While all these words mean "a discernible indication of what is not itself directly perceptible," token applies to something that serves as a proof of something intangible.

What is used to describe a token?

In general, a token is an object that represents something else, such as another object (either physical or virtual), or an abstract concept as, for example, a gift is sometimes referred to as a token of the giver's esteem for the recipient.

What is token in simple words?

Definition of token (Entry 1 of 2) 1a : a piece resembling a coin issued for use (as for fare on a bus) by a particular group on specified terms. b : a piece resembling a coin issued as money by some person or body other than a de jure government.

What do you call a token gift?

A given or granted item of value only to the recipient with no other appreciable economic value. Examples are trophies, certificates or other customized symbols of appreciation, recognition or courtesy; free promotional items such as advertisers' calendars, pens, notepads, etc.


1 Answers

Variable length parameter list

Edit:

Or, if describing the function itself: Variadic function

like image 157
Demian Brecht Avatar answered Oct 13 '22 11:10

Demian Brecht