Assume you have three int variables: x = 2, y = 6, and z. Choose the value of z in the following expression: z = (y / x > 0) ? x : y;.

A. 2
B. 3
C. 4
D. 6

Answer: A

Computer Science & Information Technology

You might also like to view...

Keyboard shortcuts allow rapid navigation in a worksheet without having to use the mouse

Indicate whether the statement is true or false

Computer Science & Information Technology

The gray work area and panels are referred to collectively as the ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology