How to write in a function declaration and in function call in
which the function has 'n' number of varible or arguments?
Answer Posted / kiran kumar yakkala
returntype function_name(int counter,...)
here first one is the counter tells about how many no are
going to use
... specifies variable no of arguments
for further clarificaiton, refer "Let us C" book
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I pad a string to a known length?
Why n++ execute faster than n+1 ?
For what purpose null pointer used?
What is a pointer variable in c language?
Explain which function in c can be used to append a string to another string?
Explain goto?
Are negative numbers true in c?
int i=10; printf("%d %d %d", i, i=20, i);
Explain what is the benefit of using an enum rather than a #define constant?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
I came across some code that puts a (void) cast before each call to printf. Why?
in iso what are the common technological language?
What do you mean by invalid pointer arithmetic?
What is union and structure?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }