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
What is the use of setprecision in c++?
Is there finally in c++?
Can create new c++ operators?
What is low level language in simple words?
What are the differences between malloc() and calloc()?
How static variables and local variablesare similar and dissimilar?
Is it possible to provide default values while overloading a binary operator?
What is stl containers in c++?
Explain dangling pointer.
Explain the pure virtual functions?
What is while loops?
How can I disable the "echo" feature?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What is the use of main function in c++?