Answer Posted / kishore
Printf is a Variadic function. Variadic functions are
functions which may take a variable number of arguments and
are declared with an ellipsis in place of the last
parameter.
int printf(char *, ...);
Uses Var_args to know the variables in the ...
In C these are defined in stdarg.h
Refer to this link http://en.wikipedia.org/wiki/Stdarg.h
| Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
In c++, what is the difference between method overloading and method overriding?
What is an associative container in c++?
Why ctype h is used in c++?
Explain bubble sorting.
What is constructor c++?
Explain binary search.
Write about the stack unwinding?
Which is most difficult programming language?
Is c++ the most powerful language?
What is a v-table?
What is a manipulative person?
What are the two types of comments?
Should I learn c or c++ first?
Is it possible to provide default values while overloading a binary operator?
What is the use of register keyword with the variables?