Variadic Functions
Learn about the variadic functions.
A variadic function is one which accepts a variable number of input arguments. In C we can write functions that are variadic. Sometimes this may be useful.
Here is a simple example of how one would do this, taken from here. See this page for more details.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy