Can't seem to understand what HW is asking for C++ class -


you cannot evaluate value or expression truth or falsity because determined keywords true , false.

a.true
b.false

at first, picked true thought maybe false since can assigned true or false still unsure of asking.

the answer question is: b. false. can evaluate values , expressions else other true or false. expression not "determined keywords true , false" boolean literals. expression can of:

integral, floating-point, unscoped enumeration, pointer, , pointer-to-member types

and can converted value of bool means of boolean conversion. think question can translated to:
"must values , expressions in conditions of type bool?". , answer no.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -