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 4 of 5 Topic 1028 of 1133
Post > Topic >>

Re: help

by Francis Glassborow <francis.glassborow@[EMAIL PROTECTED] > Feb 17, 2008 at 12:03 PM

Martin Ambuhl wrote:
> Milan.Jais@[EMAIL PROTECTED]
 wrote:
>> can any one tell me what whould be the output of this program
>> int i=10;
>> printf("%d",i++ + ++i + i++ + i=+i );
> 
> No, no one in the world can tell you what would or should be the output 
> of your broken program.  Anyone who claims to be able to is lying.  I 
> suggest you check the FAQ instead of asking lame, trite, and boring 
> questions.

I think lying is a bit strong, just ignorant. Unfortunately there are 
far too many such ignorant programmers, some are even responsible for 
writing critical code. Fortunately most of those are constrained by 
coding rules that forbid them using ++ and -- in most contexts.
-- 
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 Jul 24 2:09:52 CDT 2008.