Uses the argument pointer to get an argument value.
va_arg (va_list ap, type);
Required Header |
<stdarg.h> |
Parameters
ap
The argument pointer
type
The type of the current argument value to obtain
Remarks
The va_arg macro uses ap to dereference the current arguments value, and then increments ap to the next argument location.