+ 1
I am not able to understand "--x" how do we actually calculate it?
10 odpowiedzi
+ 16
--x means x-1
https://www.sololearn.com/discuss/603655/?ref=app
+ 9
https://www.sololearn.com/Discuss/407846/?ref=app
+ 3
It's equivalent to x = x-1
+ 3
a=--8 gives error
+ 2
if x = 10, --x = 9
+ 1
lets say:
a = 8
b = --a //a wil get lowered with one and set as value of b
(now a = 7 and b = 7)
c = b++ //c will get the value of b, then b wil get higher with one
(now c = 7 and b = 8)
+ 1
thanks alot
lord teacrumble
0
a=--8;
b=++a;
please tell me how does it calculate and whats the value of a and b ?
0
no problem :)
0
jutt brand