Functions
- Which header file includes a function for variable number of arguments?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
stdarg.h
- Which of the following macro extracts an argument from the variable argument list (ie ellipsis) and advance the pointer to the next argument?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
va_arg
- The type va_list in an argument list is used ________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
To create a list
- In a variable length argument function, the declaration “…” can _______
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Only appear at the end of an argument list
- Each call of va_arg _______.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Returns one argument & Steps va_list variable to the next