1. wState = &workState;2. *wState = run;3. if (*wState == stop) {}
C++ (Qt)int a. b;..if (a == b) a = 0; b = 100;}