In distinguishing an expression as true or false C sees whic
In distinguishing an expression as true or false, C++ sees which of the following as false? Select all that apply. a. any non-zero value b. 1 c. false d. 0
Solution
Answer: c. false and d. 0
In distinguishing an expression, if you put 0 value as deterinator then condition will return false and also if you put false boolean value in condition that will also return false.
in numerics, in if condition in c++, 1 value indicates true and o vallue indicates false.
iin boolean, in if condition in c++, true value indicates condition is true and false value indicates condition is false.
