Suppose x=10 and y=10. What is x after evaluating the expression (y >= 10) || (x++ > 10).

a. 9
b. 10
c. 11

b. 10
For the || operator, the right operand is not evaluated, if the left operand is evaluated as true.

Computer Science & Information Technology

You might also like to view...

The ________ in OneNote displays the name of the active notebook

A) note container B) Notebook navigator C) Section tab D) Ribbon

Computer Science & Information Technology

Which command would show the current working directory?

A) passwd B. dd C. chmod D. pwd

Computer Science & Information Technology