Question
What happens when a null pointer is converted into bool?
Answer: Option C
Was this answer helpful ?
A pointer can be implicitly converted to a bool. A nonzero pointer converts to true and zerovalued
pointer converts to false.
Was this answer helpful ?
Submit Solution