local x in main's outer scope is 5 local x in main's inner scope is 7 local x in main's outer scope is 5 local x is 25 on entering useLocal local x (prefix increment) is 26 local x (after prefix increment) is 26 local x (postfix increment) is 26 local x (after postfix increment) is 27 local x is 27 on exiting useLocal local static x is 50 on entering useStaticLocal local static x is 51 on exiting useStaticLocal global x is 1 on entering useGlobal global x is 10 on exiting useGlobal local x is 25 on entering useLocal local x (prefix increment) is 26 local x (after prefix increment) is 26 local x (postfix increment) is 26 local x (after postfix increment) is 27 local x is 27 on exiting useLocal local static x is 51 on entering useStaticLocal local static x is 52 on exiting useStaticLocal global x is 10 on entering useGlobal global x is 100 on exiting useGlobal local x in main is 5