hi..everyone.i got a little bit confusion about prefix form
for some book i learn that; for example
and some told me write in this formCode:
for (i=0; i < 5; ++i)
and i know that the output is same but doesn't itCode:
for (i=0; i<5; i++)
++i will increment the value first and if i++ the value will increment after the loop.I really doesn't understand that why the for loop come out with the same answer??...