Re: Why the output of the foll.prog is = 0 ?????????//
Friday, July 19, 2002 04:48 AM
its like in c++...
use i=++i; instead of i=i++;
i++= i is incremented after the expression is evaluated.
(usable for FOR loops etc)
++i= i is incremented before the expression is evaluated.