Groups | Search | Server Info | Login | Register


Groups > comp.lang.c.moderated > #509

How to declare a function parameter to be optional?

From Pushkar Prasad <pushkar.prasad@live.com>
Newsgroups comp.lang.c.moderated
Subject How to declare a function parameter to be optional?
Date 2011-02-07 22:58 -0600
Organization SunSITE.dk - Supporting Open source
Message-ID <clcm-20110207-0001@plethora.net> (permalink)

Show all headers | View raw


Hello All

Is there a way to ensure that one of the function argument is set as 
optional. So that it is not mandatory for the caller to pass that 
parameter and yet if necessary can be used?

I do remember that it is possible, but I can't seem to find that 
information. Any guidance will be of great help.

Thanks & Regards
Pushkar Prasad
-- 
comp.lang.c.moderated - moderation address: clcm@plethora.net -- 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.

Back to comp.lang.c.moderated | Previous | Next | Find similar


Thread

How to declare a function parameter to be optional? Pushkar Prasad <pushkar.prasad@live.com> - 2011-02-07 22:58 -0600

csiph-web