C Programming - Variable Number of Arguments - Discussion

Discussion Forum : Variable Number of Arguments - Yes / No Questions (Q.No. 7)
7.
The macro va_arg is used to extract an argument from the fixed micro argument list and advance the pointer to the next argument.
Yes
No
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
7 comments Page 1 of 1.

Sindhu said:   5 years ago
@Dd J.

Va_arg is nothing but it is a variable argument that is used to point the second element or variable in the arg_list.

Prathyusha said:   8 years ago
Can anybody explain it briefly?

Dd j said:   9 years ago
What is va_arg?

Anuj singh said:   1 decade ago
I agree with @Chinmay Bendre, Because va_arg ---Retrieves the current argument and increments the argument pointer.

Chinmay Bendre said:   1 decade ago
Here, they have mentioned " va_arg " where " va " refers to " variable " argument in length .
Hence, it does not satisfy the criteria for the same statement as stated above & hence statement is incorrect itself.

Nuzhat said:   1 decade ago
Va_arg is used to extract variable argument not fixed.

Ankur said:   2 decades ago
What is wrong in the statement, can anybody explain?

Post your comments here:

Your comments will be displayed after verification.