In distinguishing an expression as true or false, C++ sees which of the following as true?

a) true
b) 0
c) 1
d) Any non-zero value
e) The character 'F'

a) true, c) 1, d) Any non-zero value, and e) The character 'F'
‘F’ is coerced char to bool, perhaps through an intermediate type

Computer Science & Information Technology

You might also like to view...

Click the Color button in the ________ group on the Video Tools Format tab to change or reset the video color

A) Adjust B) Video Styles C) Arrange D) Editing

Computer Science & Information Technology

At what temperature does damage start occurring to magnetic media?

A. 80 degrees B. 85 degrees C. 90 degrees D. 100 degrees

Computer Science & Information Technology