Looking for trustworthy answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

What the answer to x,y, and z

What The Answer To Xy And Z class=

Sagot :

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