Vidyalelo
C++ Programming · Q52

Variables and Data Types in C++

Programming · C++ Programming · question 52

Q52

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
Answer
D.
the statement is ignored

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board