0

What is the difference between postfix ans prefix what's the value of a++ and ++a if a=4?

16th Jun 2017, 10:42 AM
bharti
bharti - avatar
4 odpowiedzi
+ 3
thanks
17th Jun 2017, 9:19 AM
bharti
bharti - avatar
16th Jun 2017, 1:30 PM
Nanda Balakrishnan
0
++i increments i and evaluates to the new value of i. i++ evaluates to the old value of i, and increments i.
16th Jun 2017, 11:55 AM
Jordan
Jordan - avatar
0
4 and 5
13th Aug 2017, 4:49 AM
KANHAYA TYAGI
KANHAYA TYAGI - avatar