C Programming - Variable Number of Arguments - Discussion

Discussion Forum : Variable Number of Arguments - General Questions (Q.No. 1)
1.
Which header file should you include, if you are going to develop a function, which can accept variable number of arguments?
varagrg.h
stdlib.h
stdio.h
stdarg.h
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
7 comments Page 1 of 1.

Shital dandale said:   10 years ago
stdargs is a header file which use the functions to define no. of argument.

Sundar said:   1 decade ago

Kapil said:   1 decade ago
Any one can give small programme on this ?

Sudheer said:   1 decade ago
@sangeetha. Please give me one example to clarify myself.

Shakil said:   1 decade ago
@sangeetha:.

I can't get this still can anyone exaplain in detail.
(1)

Sangeetha said:   1 decade ago
stdarg.h is a header in the C standard library of the C programming language that allows functions to accept an indefinite number of arguments.

Yash thakur said:   1 decade ago
Why we use stdarg.h ?

Post your comments here:

Your comments will be displayed after verification.