New course! Every coder should learn Generative AI!
Try a free lesson0
In java /javascript why does c=++a and c=--a reasults same value c=a ? what does ++a and --a really mean?
1 Answer
+ 5
You're most likely talking about c = a++.
c = ++a will result in c storing the the value of incremented a.