C++ Pointers Quiz - Question 6

Last Updated :
Discuss
Comments

What happens if you dereference a NULL pointer in C++?

Outputs 0

Undefined behavior

Causes a compile-time error

Outputs NULL

Share your thoughts in the comments
Article Tags :