It's not weird if answers 4 & 12.
Because each ++a increment & then assign the new value to 'a', i.e ++a makes a=2 assign this value to 'a' then the second ++a increment starting from a=2 NOT a=1 & so on with the third ++a, all ++a's increment in the same time with the new value of a. So, when a=1, ++a + ++a + ++a = 2 + 2 + 2. & so on when a=3 the three ++a increment parallel to 4 make it 4 + 4 + 4=12.
Of course a=4.
Resulting a,c equals 4 & 12 respectively.
It's weird when c=10
Sometimes I get c=10 & c=12
