Can Anyone ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can Anyone ?

Explain increment with full knowledge and how did u guys learn it I mean full Explain .

4th Feb 2017, 9:19 PM
Faisal Raufi
Faisal Raufi - avatar
2 Answers
+ 3
As far as I'm concerned: The difference between i++ and ++i is that i++ get the value of i, then do the increment, while ++i do the increment then get the value of i. Just think that i++ first comes i, so you get the value of i, then do the increment. ++i can be understanded in the same way. Hope this helpful. 😀
5th Feb 2017, 1:00 AM
zhenxi
zhenxi - avatar
0
Nice madam u r post
13th Aug 2020, 4:50 PM
Mkchowdary
Mkchowdary - avatar