What happens when a null pointer is converted into bool?

What happens when a null pointer is converted into bool?
A. an error is flagged
B. bool value evaluates to true
C. bool value evaluates to false
D. the statement is ignored
 

Tìm kiếm

Back
Top