Page 1 of 1

What happens when a null pointer is converted into bool?

Posted: Wed Jul 13, 2022 7:51 pm
by answerhappygod
a) an error is flagged
b) bool value evaluates to true
c) bool value evaluates to false
d) the statement is ignored