i = 0 (1) is acceptable. But the i should be incremented after assigning 0 to i. Right? Then, it should become 1.
Can you make it bit more clear? Sorry, if I am asking the basics!!!
Ajay. I compiled and run your code. as expected, the output is:
i = 0
i = 1, j = 0
the second line makes prefect sense, the assingment happens first, j was assigned to 0. then i incremented from 0 to 1.
however, to the first line, i to the left hand was assigned to 0.
then what about the increment?? the execution should give i the value of 1. what am I missing here?? please help.