Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: what does ....
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 1089 of 1133
Post > Topic >>

Re: what does ... mean in printf??

by Barry Schwarz <schwarzb@[EMAIL PROTECTED] > May 7, 2008 at 01:38 AM

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.
 




 6 Posts in Topic:
what does ... mean in printf??
AKM <akmahes@[EMAIL PR  2008-05-05 16:01:24 
Re: what does ... mean in printf??
Barry Schwarz <schwarz  2008-05-07 01:38:12 
Re: what does ... mean in printf??
David Spencer <spencer  2008-05-08 02:20:28 
Re: what does ... mean in printf??
Jensen Somers <jensen.  2008-05-07 01:38:25 
Re: what does ... mean in printf??
Thomas Richter <thor@[  2008-05-07 01:38:28 
Re: what does ... mean in printf??
"Iman S. H. Suyoto&q  2008-05-07 01:38:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 16:06:16 CDT 2008.