Postfix and Prefix Operator ! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Postfix and Prefix Operator !

Can anyone explain about it in open. Now, I have understood all the concepts. But, increment and decrement operators ++var_name or var_name++ and var_name-- or --var_name ..... ...... are difficult to understand. pLZzz anyone explain it.

24th Sep 2017, 8:40 AM
Muhammad Belal
Muhammad Belal - avatar
3 Answers
+ 12
Can you pLZzz use the search function. https://www.sololearn.com/Discuss/407846/?ref=app
24th Sep 2017, 8:46 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
https://www.sololearn.com/Discuss/729547/actually-i-am-not-getting-the-use-of-increment-or-decrement
24th Sep 2017, 9:06 AM
Daniel
Daniel - avatar
+ 4
++a, will increment before , then save, and then return the value of a. a++, will return original a, then increment, and then save.
24th Sep 2017, 10:00 AM
ProCpp