Anonymous user
Variadic function: Difference between revisions
m
use <var> for placeholders
m (use <var> for placeholders) |
|||
Line 411:
printAll(4, 3, 5);
printAll("Rosetta", "Code", "Is", "Awseome!");</lang>
The <code><
You can use the <tt>apply</tt> method of a function to apply it to a list of arguments:
|