Can you make me more clear about In-place operators? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Can you make me more clear about In-place operators?

24th Apr 2018, 1:59 PM
Swaraj Khadka
Swaraj Khadka - avatar
2 ответов
+ 2
It would be better if you can provide us with the code snippet you're unable to understand. in-place operators are also known as shorthand operators. x += y is same as x = x + y. x -= y is same as x = x - y. x /= y is same as x = x / y.
24th Apr 2018, 2:40 PM
Dev
Dev - avatar
0
thank you I think I got it.
24th Apr 2018, 3:06 PM
Swaraj Khadka
Swaraj Khadka - avatar