Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pointer #1457

Answered by Pranjal-88
Sam-Wann54 asked this question in Q&A
Discussion options

What happens if you dereference a null pointer?

You must be logged in to vote

Dereferencing a null pointer leads to undefined behavior.

Replies: 2 comments

Comment options

Dereferencing a null pointer leads to undefined behavior.

You must be logged in to vote
0 replies
Answer selected by Sam-Wann54
Comment options

In C, dereferencing a NULL pointer is undefined behavior.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /