top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Which header file should we can include if we have to develop a function for variable number of arguments in C?

+2 votes
473 views
Which header file should we can include if we have to develop a function for variable number of arguments in C?
posted Mar 30, 2015 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

stdarg.h header file is included while writing a function which accepts variable number of arguments.

answer Mar 30, 2015 by Alok
Similar Questions
+2 votes

Is there any option available to include header file while compiling?

For Ex:
i don't want to write "#include<stdio.h>" in my .c file. but while compiling i want to include it.
(like, $: cc 1.c -option stdio.h)
can it be done?

+1 vote

Are there any defined rules that should be considered while writing function definition ?

+3 votes

Can someone help me with step by step example and may be with sample code.

...