Machine-translated by Google. Questions are authored in English.
Top

Discussion

Identify the macro(s) defined in stdarg.h.

  • A.va_start
  • B.va_end
  • C.va_arg
  • D.all the above

Answer: D

Correct answer: all the above

<stdarg.h> defines all three: va_start to begin walking the variable argument list, va_arg to fetch the next argument (given its type), and va_end to finish. They are what a function such as printf uses to reach arguments the compiler cannot type-check.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.