From: "Steve Graegert" <graegerts@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: Re: Significance of using + before function calls.
Date: Wed, 15 Mar 2006 08:51:39 +0100 [thread overview]
Message-ID: <6a00c8d50603142351u2def5e49vc6c40c221da40e5e@mail.gmail.com> (raw)
In-Reply-To: <44180FBC.50703@wipro.com>
On 3/15/06, Vamsi <krishna.vamsi@wipro.com> wrote:
> Hi List,
>
> i have seen a code snippet which starts with + symbol,
>
> +system("ls -l");
>
> what is the significance of using + symbol before system.
>
> i also tried using + before printf ,, like +printf("Some text"); and it
> is compiling and working tooo,,
>
> Can somebody clarify wht does that + signify??
The unary plus operator returns the value of an expression. Neither
the unary plus nor unary minus operators produce lvalues and is of
limited use.
\Steve
next prev parent reply other threads:[~2006-03-15 7:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-15 12:59 Significance of using + before function calls Vamsi
2006-03-15 7:51 ` Steve Graegert [this message]
2006-03-15 7:58 ` Per Jessen
2006-03-15 12:11 ` Steve Graegert
2006-03-15 7:59 ` Joel M. Pareja
2006-03-15 13:40 ` Vamsi
2006-03-15 8:16 ` Joel M. Pareja
2006-03-15 10:09 ` Glynn Clements
2006-03-15 15:48 ` Vamsi
2006-03-15 20:34 ` Tomas Janousek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6a00c8d50603142351u2def5e49vc6c40c221da40e5e@mail.gmail.com \
--to=graegerts@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).