InterviewSolution
Saved Bookmarks
| 1. |
Which of the following macro extracts an argument from the variable argument list (ie ellipsis) and advance the pointer to the next argument?(a) va_list(b) va_arg(c) va_end(d) va_startThis question was addressed to me in an internship interview.The query is from Variable Length Argument in section Input and Output in C of C |
|
Answer» The CORRECT choice is (B) va_arg |
|