0

Why X+++++ is not not increased by 4?

X++ means incease in f variable x by one but what about if I increase its sign x+++++

16th Aug 2020, 9:04 PM
Ajay Rajora
3 Respostas
+ 3
The advantage of x++ over x+=1 is that x++ lets you use x's value for other operations while incrementing the value.
16th Aug 2020, 9:39 PM
Seb TheS
Seb TheS - avatar
+ 2
It does not work that way. i++ does not mean : "add 2" it is short hand notice for i += 1; So the first + is for the operation, the second means 1. Adding more +++ is not readable and not correct syntax. if you want to add for do i += 4; What language do you use, please put the language you use in the tags.
16th Aug 2020, 9:18 PM
sneeze
sneeze - avatar
+ 2
Thanks bro
16th Aug 2020, 9:21 PM
Ajay Rajora