Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

Assignment and Order of Evaluation Solutions

Assignment and Order of Evaluation Dersi Problem Çözümleri

The values of a, b, and c are printed on the right-hand side of each operation. The value that changes at every operation is highlighted:

at the beginning   →     a 1, b 2, c irrelevant
c = a              →     a 1, b 2, c 1
a = b              →     a 2, b 2, c 1
b = c              →     a 2, b 1, c 1

At the end, the values of a and b have been swapped.