Anonymous user
Variadic function: Difference between revisions
m
added whitespace before the TOC (table of contents), added a ;Task: and ;Related: (bold) headers.
No edit summary |
m (added whitespace before the TOC (table of contents), added a ;Task: and ;Related: (bold) headers.) |
||
Line 1:
{{task|Basic language learning}}
{{task|Basic language learning}}Create a function which takes in a variable number of arguments and prints each one on its own line. Also show, if possible in your language, how to call the function on a list of arguments constructed at runtime.▼
;Task:
Create a function which takes in a variable number of arguments and prints each one on its own line.
▲
Functions of this type are also known as [[wp:Variadic_function|Variadic Functions]].
Related: [[Call a function]]▼
;Related:
<br><br>
=={{header|Ada}}==
|