#define PRINT(int) printf("%d\n",int) void main() { int x, y, z; x = 8; y = 1; z = 0; x = x && y || z; PRINT(x); PRINT(x || ! y && z ); x = y = 1; z = x ++ - 1; PRINT(x); PRINT(z); z += - x ++ + ++ y; PRINT(x); PRINT(z); z = x / ++ x; PRINT(z); /* ++x will increment x before / is preformed, as ++ has a higher order of precedent than /, but as the line is z = x / ++ x; the result should always be one if the ANSI rules are being adhered to. */ }