Y is 35
but Z should be 36 ..
its beacause .. in the 2nd statement Y becomes 35 n then in third statement first the value of 35 is taken as y and then 1 I incremented I.e. 35+1=36 which the computer stores in its memory. Next, when Print statement takes place then the computer gives 35 as the value of y n 36 as tha value of Z as 36 was stored in the memory.