C Programming - Variable Number of Arguments - Discussion
Discussion Forum : Variable Number of Arguments - Yes / No Questions (Q.No. 6)
6.
It is necessary to call the macro va_end if va_start is called in the function.
Discussion:
9 comments Page 1 of 1.
Sujila said:
1 decade ago
What is va_end and va_start function? please help me.
Malar said:
1 decade ago
Any one please explain this.
Santosh said:
1 decade ago
Please explain me what is va_end and va_start?
John Peter said:
1 decade ago
Hey friends, can anyone explain ? how its working?
Sowmya said:
9 years ago
Here, va_start points to the first argument and va_last points to the last argument.
Prakash said:
9 years ago
Here, va_start(list,last arg before) macro creates the list of variable arguments that are passed to the function and va_end(list) destroys the list.
Vinod said:
8 years ago
It is not mandatory in GCC compiler. So option can be no also. Please write an appropriate answer for this question admin or explanation which I gave. Va_end is not mandatory to write for every prog.
GORIPARTHI .udaya lakshmi said:
8 years ago
Explain what is va_end and v_start? Please help me.
Pragati said:
7 years ago
I think, there is no necessity of va_end.
It can be proved by the exp itself given in the above session (see 1st part where va_end not used although use of va_start).
It can be proved by the exp itself given in the above session (see 1st part where va_end not used although use of va_start).
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers