I\'ve been looking around and found formula: a = (a + b) - (b = a) it is supposed to swap two variables (or objects in some cases). However I tested it with C++
a = (a + b) - (b = a)
C++ code is completely broken because of undefined behavior. (read and write b in one sequence point).
b