on-internet
← Community

Is dereferencing a null pointer undefined behavior?

Stack Overflow ·

"Everyone knows" that dereferencing a null pointer is undefined behavior in C++. However, I couldn't find any clause in the standard that says so. Where and how is it specified?

Comments

Sign in or sign up to comment and upvote.

No comments yet.