by "Iman S. H. Suyoto" <no-spam@[EMAIL PROTECTED]
>
May 7, 2008 at 01:38 AM
AKM 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?
One way of doing it is by using <stdarg.h> and va_start, va_arg, and
va_end. For examples, see:
http://www.c-faq.com/varargs/varargs1.html
--
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.