Variadic functions
In this session, we will have a look at variadic functions in C.
Variadic functions are function that take a variable number of arguments. Say they take argument whose number is not exacly know at the time of compilation.
- stdarg.h
- Variadic functions
- The const keyword
- Variadic funtions in action
- What Google says about variadic functions
After going through the above resources, you should be able to explain to anyone without the help of Goolge the following concepts.
- What are variadic functions
- How to use
va_start
,va_arg
andva_end
macros - Why and how to use the
const
type qualifier