Thread
:
small but odd!
View Single Post
11-30-2005, 07:19 PM
#
7
(
permalink
)
mgoldb2
Super Techie
Join Date: Jun 2005
Posts: 274
Quote:
Originally posted by csamuels
hmmm,
int j=1,q; // j=1 q=null
q=j++ + ++j + j++; // translates to q= 2 + 2 + 2 (2 cus of pre inc) and j now == 2
This is wrong it translates too 1+2+3
mgoldb2
View Public Profile
Send a private message to mgoldb2
Find More Posts by mgoldb2