Well I just now tried the code chunk in Borland C compiler and K was 13 for case1. Though this looks pretty simple none of my friends have really been able to come up with a definite solution for this.
Well wat I wud expect the answer to be, is as given below.
++i (3) + i++ (3) * ++i (5) and hence k = 3 + (3x5) = 18
I want more members in the forum to take this up and come out with their views...
With thanks.
Satheesh
ASK
|