Possible Duplicate:
What is the signature of printf?
Does C support overloading?
Does printf support function overloading In C?
C’s printf function seems to show method overloading as different types of arguments can be given to it. Is this right or printf is something else?
printf()is something else that is called variadic function. The exact number and types of its arguments is specified through its first one, the format.Other variadic functions have other ways of specifying number and/or type of arguments but it is always through one fixed argument.