Default User wrote:
Martin Ambuhl wrote: Casanova wrote:
int main()
{
int i=5;
printf("\n%d",++i + ++i + ++i + ++i + ++i ); logically it appeals to me that 40 makes more sense since the
integer argument to printf should evaluate to 6+7+8+9+10 = 40
Why should you think this crap should make any sense at all?
Please check the damn FAQ before posting tired, worn-out
guesses about what something that is meaningless should mean.
Or read the prior messages in the group. We've had very similar
questions to this several times recently.
Interminably. Which is why it is a FAQ. I have to hope the
presence of the FAQ has cut off at least a few repetitions.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>