1.

The three macros defined by stdarg.h is _________(a) start(), arg() and end()(b) var_start(), var_arg() and var_end()(c) va_start(), va_arg() and va_end()(d) v_start(), v_arg() and v_end()The question was asked by my college professor while I was bunking the class.My question is from Variable Argument Lists in division C Library of C

Answer»

Right option is (C) va_start(), va_arg() and va_end()

Best EXPLANATION: The header file stdarg.h has three MACROS defined in it. They are va_start(), va_arg() and va_end(). va_listis a VARIABLE TYPE that holds information needed by the three macros.



Discussion

No Comment Found

Related InterviewSolutions