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.