View Single Post
  #5 (permalink)  
Old July 12th, 2004, 03:48 AM
Satheesh Satheesh is offline
Registered User
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

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.

Reply With Quote