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

Re: help

by Kenneth Brody <kenbrody@[EMAIL PROTECTED] > Feb 17, 2008 at 12:04 PM

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 );

Only you can tell what happens on your particular system and compiler,
using whatever command-line options you gave the compiler.  I know
someone here (or at least over in the unmoderated clc) whose system
outputs a suffusion of yellow.

As for me, I wouldn't dare to even think what would happen if I were
to try that code on my DS-6000, let alone the newer DS-9000.

What I want to know is why this question pops up every few months?
Is there some instructor somewhere giving it on a quiz at the start
of each semester?

-- 
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody        | www.hvcomputer.com | #include              |
| kenbrody/at\spamcop.net | www.fptech.com     |    <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap@[EMAIL PROTECTED]
>
-- 
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 Fri Jul 25 21:21:22 CDT 2008.