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

Discussion

How many macros are defined in the header file stdarg.h?

  • A.one
  • B.two
  • C.three
  • D.four

Answer: C

Correct answer: three

Classic <stdarg.h> defines three macros - va_start, va_arg and va_end - together with the type va_list. (C99 added a fourth, va_copy.) They are what let a function such as printf 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.