Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Explore a wealth of knowledge from professionals across various disciplines on our comprehensive Q&A platform. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

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