Compound Assignment Operators
Is ‘j *= k + 1’ equivalent to
‘j = j * k + 1’ or ‘j = j * (k + 1)’?
What is the result of this?
(m + n) *= 2
Previous slide
Next slide
Back to first slide
View graphic version