Here is a listing of C++ Programming quiz on “Unspecified Number of Arguments” along with answers, explanations and/or solutions: 1. Which header file is used to pass unknown number of arguments to function?
A. stdlib.h
B. string.h
C. stdarg.h
D. none of the mentioned
Answer:A
Here is a listing of C++ Programming quiz on “Unspecified Number of Arguments” along with answers, explanations and/or solutions: 1. Which header file is used to pass unknown number of arguments to function?
A. stdlib.h B. string.h C. stdarg.h D. none of the mentioned
Explanation:Because the cstdarg defines this header file to process the unknown number of arguments. 2. How can you access the arguments that are manipulated in the function?