C Programming - Variable Number of Arguments - Discussion

7. 

The macro va_start is used to initialise a pointer to the beginning of the list of fixed arguments.

[A]. True
[B]. False

Answer: Option B

Explanation:

No answer description available for this question.

Anil said: (Oct 10, 2011)  
True for list of variable arguments, not for list of fixed argument.

Ajay said: (Aug 31, 2016)  
Can anyone tell me what is Macro in c programing?
And what is va_start?

Harika said: (Sep 10, 2016)  
The macro va_list is used to initialise the pointer, not va_start. And also va_start is just used to point the first argument in the function data all.

Suraj said: (Jul 4, 2017)  
Nice, thank you @Harika.

Durgesh said: (Jul 9, 2017)  
Can anybody give example on va_start?

Jai Shree Krishna said: (Apr 21, 2020)  
The macro va_start is used to initialize a pointer to the end of the list of fixed arguments.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.