+ 3
If I change the 3rd condition to ++i, instead of i++ ...shouldn't it make a difference to the output.?
but it makes no difference, why??
5 Respuestas
+ 10
Immanuel Henshaw can you share your code then it will be easy to understand your problem Thanks
+ 4
https://www.sololearn.com/Discuss/1271878/?ref=app
this is pre increment and post increment.
0
yes for more information check language of c book (++× case x will increase first then final value will change just opposite of x++)
0
I think pre-increment is more efficient
0
they are different cases for one the value is changed and then executed while for the other it is changed after execution