Exercise: Variable Number Of Arguments

Questions for: Variable Number Of Arguments

The macro va_arg is used to extract an argument from the fixed micro argument list and advance the pointer to the next argument.
A:
Yes
B:
No
C:
D:
Answer: B
No answer description is available. Let's discuss.
It is necessary to call the macro va_end if va_start is called in the function.
A:
Yes
B:
No
C:
D:
Answer: A
No answer description is available. Let's discuss.
Can the fixed arguments passed to the function that accepts variable argument list, occur at the end?
A:
Yes
B:
No
C:
D:
Answer: B
No answer description is available. Let's discuss.
Can we write a function that takes a variable argument list and passes the list to another function?
A:
Yes
B:
No
C:
D:
Answer: A
No answer description is available. Let's discuss.
Is it necessary that in a function which accepts variable argument list there should be at least be one fixed argument?
A:
Yes
B:
No
C:
D:
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz