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

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

Answer: B

Explanation:

The va_end macro is used to end the processing of the variable argument list.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments