Display Any Number of Values
Study one more program related to the variable argument list.
We'll cover the following
Example program
Let us write one more program that uses a variable number of arguments.
Here, we pass two fixed arguments to the function, display( )
. The first indicates the data type of the arguments to be printed, and the second indicates the number of such arguments to be printed.
Get hands-on with 1400+ tech skills courses.