View Single Post
  #8 (permalink)  
Old August 6th, 2004, 02:23 PM
mehdi62b mehdi62b is offline
Friend of Wrox
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post

the answer is 18
k=++i + i++ * ++i
first because of (++i) i become 3 then becuse of (i++) again 3 contributes in computation but becuse we have another arithmetic instruction i becomes 4
and again becouse of(++i) i becomes 5.
3 + (3x5) =18
now answer this one
what values for a,b,c,r after below instruction(r=a=b=c=0)

Reply With Quote