Computer Science for IGCSE & O level - Programming (Section 4 - No. 1)

What is the value of `x` after the code: `x = 5; x += 3;`?
2
3
5
8

Explanation

The += operator adds the right operand to the left operand.

Comments (0)

Advertisement