by Keith Thompson <kst-u@[EMAIL PROTECTED]
>
Jan 12, 2008 at 07:04 PM
Milan.Jais@[EMAIL PROTECTED]
writes:
> can any one tell me what whould be the output of this program
> int i=10;
> printf("%d",i++ + ++i + i++ + i=+i );
If you never write code like that, you don't have to wonder what its
output will be. If you write code like that in a professional
context, it will never pass a code review, and again, you don't have
to wonder what its output will be.
The comp.lang.c FAQ is at <http://c-faq.com/>.
Start at question 3.1
and continue from there.
--
Keith Thompson (The_Other_Keith) <kst-u@[EMAIL PROTECTED]
>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
--
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.