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: help
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 1028 of 1145
Post > Topic >>

Re: help

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.
 




 5 Posts in Topic:
help
Milan.Jais@[EMAIL PROTECT  2008-01-12 16:45:01 
Re: help
Keith Thompson <kst-u@  2008-01-12 19:04:46 
Re: help
Martin Ambuhl <mambuhl  2008-01-14 12:49:22 
Re: help
Francis Glassborow <fr  2008-02-17 12:03:59 
Re: help
Kenneth Brody <kenbrod  2008-02-17 12:04:27 

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 Sep 4 23:53:53 CDT 2008.