Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Join our Q&A platform to get precise answers from experts in diverse fields and enhance your understanding. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

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