0

In java /javascript why does c=++a and c=--a reasults same value c=a ? what does ++a and --a really mean?

10th Aug 2017, 12:59 PM
Prakash
Prakash - avatar
2 Answers
+ 5
You're most likely talking about c = a++. c = ++a will result in c storing the the value of incremented a.
10th Aug 2017, 1:35 PM
Hatsy Rei
Hatsy Rei - avatar