Site icon Exam4Training

What is the purpose of the va_copy macro in <stdarg.h>?

What is the purpose of the va_copy macro in <stdarg.h>?
A . To initialize the argument list pointer to the first variable parameter.
B . To retrieve the next argument from the argument list.
C . To copy a variable argument list.
D . To end the processing of the variable argument list.

Answer: C

Explanation:

The va_copy macro is used to copy a variable argument list in <stdarg.h>.

Exit mobile version