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 encapsulation in c++ with example?
Why is null pointer used?
What is the difference between structures and unions?
How is c++ used in the real world?
What is a block in c++?
Declare a class vehicle and make it an abstract data type.
What are literals in C++?
What is c++ array?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
What is a vector c++?
How would you differentiate between a pre and post increment operators while overloading?
How many keywords are used in c++?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
What is long in c++?
Is c++ a low level language?