The difference between i++ and ++i in the c language:
both are the value plus one in the operation;
but the priority of ++I is greater than the assignment statement =
so in a=i++, i is first assigned to a and then 1 is added;
a =++i In i, add 1 first, and then assign a value to a;
i++ and ++i in c language
Guess you like
Origin blog.csdn.net/solo_bro/article/details/104642890
Recommended
Ranking