What is y after the following statement is executed?

```
x = 0;
y = (x > 0) ? 10 : -10;
/code}
a. -10
b. 0
c. 10
d. 20
e. Illegal expression


a. -10

Computer Science & Information Technology

You might also like to view...

A __________ is when two sides cooperate to exchange a session key.

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

Computer Science & Information Technology

?If a Microsoft _________ dialog box opens warning you that a potential security concern has been identified, click Open. A. Access Security Notice B. Shield Wizard C. Office Security D. Threat Detector

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

Computer Science & Information Technology

Good presentation design follows a 7x7 rule

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is an area of secondary storage used to hold information?

A. file B. variable C. constant D. buffer

Computer Science & Information Technology