Operators Flashcards

1
Q

y += x;

A

equivalent to…

y = y + x;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

x -= 5;

A

equivalent to… x = x - 5;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

x /= y;

A

equivalent to… x = x / y;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly