Macro to return an argument value.
#include <stdarg.h> type va_arg(va_list ap, type);
ap
A variable list
type
The type of the argument value to be obtained
The va_arg() macro returns the next argument on the function's argument list. The argument returned has the type defined by type. The ap argument must first be initialized by the va_start() macro.
The va_arg() macro returns the next argument on the function's argument list of type.