View Single Post
  #6 (permalink)  
Old July 12th, 2004, 05:49 AM
nokomis nokomis is offline
Authorized User
 
Join Date: Dec 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Interesting that you now get 18!

++i (3) + i++ (3) * ++i (5) and hence k = 3 + (3x5) = 18

but I would say:

++i (3) + i++ (3) * ++i (4) and hence k = 3 + (3x4) = 15

The i++ term will/should not be implemented until the statement is completed.

Put it on the Borland C++ group and it will bring lots of ideas.




Georges
Reply With Quote