On Mon, 5 May 2008 16:01:24 -0500 (CDT), AKM <akmahes@[EMAIL PROTECTED]
>
wrote:
>Hi,
> In the protype of printf function, what does the ... mean.
>int printf(const char *format, ...)
>
>I undestand that this function can take variable number of arguements.
>How is it handled? what is it called?
>
The ... is called an ellipsis. It is the syntax used to indicate that
variable arguments occur here. To see how variable arguments are
used, look up va_arg in your reference.
Remove del for email
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.


|