+ 1

can anyone explain what an in place operator is im really confused

22nd Sep 2016, 8:55 PM
Wasim Mehmood
Wasim Mehmood - avatar
3 ответов
+ 5
in place operators should help to shorten your code. You can write x += 2 instead of x = x + 2. += is the in place operator, here.
22nd Sep 2016, 9:35 PM
Amarie
0
thanks
22nd Sep 2016, 9:37 PM
Wasim Mehmood
Wasim Mehmood - avatar
0
in place operators are shot hand notations ,they will help to represent the expressions in short form like a[i]=a[i]+8 to a[i]+=8
21st Nov 2016, 4:30 AM
Venkata Prudhvi
Venkata Prudhvi - avatar