What the answer to x,y, and z
![What the answer to xy and z class=](https://us-static.z-dn.net/files/d2a/e40291e5dd87fabdbacb92efa988e203.png)
You can think of x && y || z as equivalent to: int func (int x, int y, int z) { if (x) { if (y) { return true; } } if (z) { return true; } return false; } Since both x and y are fixed to be non-zero values the first return statement is always hit. thats what i think