If z = 8, what would be the result of this statement:

``` if(z == 0 || 1) cout << "It’s OK to print "<< z ;
else cout << "Can’t do this! ";```
A. the compiler will display an error.
B. It’s OK to print 8
C. Can’t do this!
D. It’s OK to print 1


B

Computer Science & Information Technology

You might also like to view...

Which of the following options for use with interval scorecards within SAMM captures scores from detailed assessments versus expected performance levels?

A. Ongoing measurement B. Gap analysis C. Demonstrating improvement D. Security evaluation

Computer Science & Information Technology

Tracking individual clients as they visit a website is known as ________.

a. session tracking. b. client tracking. c. personalization. d. None of the above.

Computer Science & Information Technology

Which device converts an analog signal to digital and a digital signal to analog?

A. Multiplexer B. Modulator-demodulator C. Modulator D. Demodulator

Computer Science & Information Technology

A hard drive is a common choice for storage due to its speed, _____, and cost. 

A. capacity B. access time C. physical size D. distribution

Computer Science & Information Technology