- 2

what is meaning of x =+ 1 ??

5th Aug 2017, 10:05 AM
帛融蔡
2 odpowiedzi
+ 8
x =+ 1 will be equivalent to x = 1 But x += 1 is equivalent to x = x +1 ^^
5th Aug 2017, 10:10 AM
visph
visph - avatar
+ 2
X=+1 is the same as X=1 However if x+=1 is written, then it means x=x+1 that is value of x will get stored in x after we add 1 to it
5th Aug 2017, 10:17 AM
Gaurav Kumar Dhangar
Gaurav Kumar Dhangar - avatar