The assignment in line (1) stores 2 in variable m, and 5 in variable n.
The assignment in line (3) evaluates the expressions m + 3 and n – 1 using the current values of m and n as
m + 3 , n – 1
= 2 + 3, 5 – 1
= 5, 4
and stores the values 5 and 4 in the variables m and n, respectively.
1. m, n : = 2, 5
2. – – m, n = 2, 5
3. m, n : = m + 3, n – 1
4. – – m, n = 2 + 3, 5 – 1 = 5, 4
Values of the variables after the two assignments are shown in line (2) and line (4).