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

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

Answer: D

Explanation:

The va_start macro is used to initialize the argument list pointer to the first variable parameter.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments