adspace


Explain working of printf?

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


Please Help Members By Posting Answers For Below Questions

daily Routine of father

1483


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1162


What character terminates all character array strings a) b) . c) END

1392


Can union be self referenced?

1265


What is the latest version on c++?

1205