🌐
Imgflip
imgflip.com › memegenerator › 225302298 › Youre-dereferencing-a-null-pointer
You're dereferencing a null pointer Meme Generator - Imgflip
Insanely fast, mobile-friendly meme generator. Make You're dereferencing a null pointer memes or upload your own images to make custom memes
Discussions

You're dereferencing a null pointer!
Dereferencing a null pointer does indeed deserve a whack to the back of the head. More on reddit.com
🌐 r/videos
229
4886
July 1, 2017
That time that Bret Hart made a video game by himself.
This is from a time when WWE video packages only ever used this one song on loop More on reddit.com
🌐 r/SquaredCircle
31
174
June 4, 2017
c - What exactly is meant by "dereferencing a NULL pointer"? - Stack Overflow
I am a complete novice to C, and during my university work I've come across comments in code that often refer to de-referencing a NULL pointer. I do have a background in C#, I've been getting by t... More on stackoverflow.com
🌐 stackoverflow.com
Dereferencing null pointers - what does the standard say?
https://eel.is/c++draft/class.mfct.non-static If a non-static member function of a class X is called for an object that is not of type X, or of a type derived from X, the behavior is undefined. More on reddit.com
🌐 r/cpp_questions
40
14
April 20, 2021
🌐
YouTube
youtube.com › jordan lee
Bret Hart - You're dereferencing a null pointer! - YouTube
Bret Hart doing some code review. He finds the source of the bug and calls them out on it. They are dereferencing a null pointer!
Published   September 25, 2016
Views   66K
🌐
YouTube
youtube.com › gigagigagilgamesh
You're dereferencing a null pointer! - YouTube
Just Bret Hart doing some code review.
Published   September 14, 2015
Views   951K
🌐
ProgrammerHumor
programmerhumor.io › memes › null-pointer
Null pointer Memes · ProgrammerHumor.io
😱 While normal compilers will SCREAM at you with 47 error messages for a missing semicolon, C compiler sees you dereferencing a NULL pointer and just goes "*(int*)0 = 0; GOOD LUCK" with a smug little wink.
🌐
Tenor
tenor.com › view › null-pointer-dereferencing-gif-11051651778185958229
Null Pointer Dereferencing GIF - Null pointer Dereferencing - Discover & Share GIFs
October 3, 2025 - Content Description: a woman is sitting in front of a computer with the words " you 're dereferencing a null pointer "
🌐
MakeAGif
makeagif.com › gif › youre-dereferencing-a-null-pointer-H72F3U
You're dereferencing a null pointer! on Make a GIF
Browse MakeaGif's great section of animated GIFs, or make your very own. Upload, customize and create the best GIFs with our free GIF animator! See it. GIF it. Share it.
Find elsewhere
🌐
QuickMeme
quickmeme.com › p › 3vr45z › page › 3
South Park on dereferencing a null pointer - Super Cool Ski Instructor - quickmeme
IF YOU TRY TO DEREFERENCE A NULL POINTER YOU'RE GOING TO HAVE A BAD TIME Super Cool Ski Instructor
🌐
Know Your Meme
knowyourmeme.com › videos › 126980-professional-wrestling
You're dereferencing a null pointer! | Professional Wrestling | Know Your Meme
March 23, 2023 - See The Winner Of December 2025's Meme Of The Month! 5 · 6980 Views • Created September 28, 2015 By Brad Kim nn via YouTube nn • Updated March 23, 2023 Share → · Created By Brad Kim • Updated March 23, 2023 PROTIP: Press the ← and → keys to navigate the gallery, 'g' to view the gallery , or 'r' to view a random image. Tags: bret hart, Claim authorship dereferencing a null pointer, coding, programming, computer science, ◄ Previous ·
🌐
Reddit
reddit.com › r/videos › you're dereferencing a null pointer!
r/videos on Reddit: You're dereferencing a null pointer!
July 1, 2017 - So if I dereferenced the pointer ... be 3. Dereferencing a null pointer means you are dereferencing a pointer that was never assigned a valid memory address which will cause an error....
🌐
iFunny
ifunny.co › tags › dereference
Dereference memes. Best Collection of funny Dereference pictures on iFunny
24 sep 2023193[HW] Register write: 0x38 = Oxffffbdff [HW] Register write: Ox3c = 0x00000000 [HW] Register write: 0x40 = 0x00000000 [ARM] Handled interrupt at PC ffff23a0 to vector ffff000c [ARM] Okay so the emulator wont stop even though i'm telling it to stop [ARM] Go go gadget null pointer dereference zsh: segmentation fault -/uniicorn
🌐
YouTube
youtube.com › forrestknight
when a null pointer dereference breaks the internet lol - YouTube
but it may not be the devs fault.If you're a developer, sign up to my free newsletter Dev Notes 👉 https://www.devnotesdaily.com/If you're a student, checkou...
Published   July 20, 2024
Views   126K
Top answer
1 of 8
118

A NULL pointer points to memory that doesn't exist. This may be address 0x00000000 or any other implementation-defined value (as long as it can never be a real address). Dereferencing it means trying to access whatever is pointed to by the pointer. The * operator is the dereferencing operator:

Copyint a, b, c; // some integers
int *pi;     // a pointer to an integer

a = 5;
pi = &a; // pi points to a
b = *pi; // b is now 5
pi = NULL;
c = *pi; // this is a NULL pointer dereference

This is exactly the same thing as a NullReferenceException in C#, except that pointers in C can point to any data object, even elements inside an array.

2 of 8
56

Dereferencing just means accessing the memory value at a given address. So when you have a pointer to something, to dereference the pointer means to read or write the data that the pointer points to.

In C, the unary * operator is the dereferencing operator. If x is a pointer, then *x is what x points to. The unary & operator is the address-of operator. If x is anything, then &x is the address at which x is stored in memory. The * and & operators are inverses of each other: if x is any data, and y is any pointer, then these equations are always true:

Copy*(&x) == x
&(*y) == y

A null pointer is a pointer that does not point to any valid data (but it is not the only such pointer). The C standard says that it is undefined behavior to dereference a null pointer. This means that absolutely anything could happen: the program could crash, it could continue working silently, or it could erase your hard drive (although that's rather unlikely).

In most implementations, you will get a "segmentation fault" or "access violation" if you try to do so, which will almost always result in your program being terminated by the operating system. Here's one way a null pointer could be dereferenced:

Copyint *x = NULL;  // x is a null pointer
int y = *x;     // CRASH: dereference x, trying to read it
*x = 0;         // CRASH: dereference x, trying to write it

And yes, dereferencing a null pointer is pretty much exactly like a NullReferenceException in C# (or a NullPointerException in Java), except that the langauge standard is a little more helpful here. In C#, dereferencing a null reference has well-defined behavior: it always throws a NullReferenceException. There's no way that your program could continue working silently or erase your hard drive like in C (unless there's a bug in the language runtime, but again that's incredibly unlikely as well).

🌐
Pinterest
pinterest.com › explore
You're dereferencing a null pointer!
Skip to content · Search for easy dinners, fashion, etc · When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures · Log in · Sign up · Explore · Pin on Geek Cringe · Visit · youtube.com ...
Published   December 24, 2015
🌐
WhatCulture Wrestling
whatculture.com › wwe › 10-most-ridiculous-bret-hitman-hart-moments
10 Most Ridiculous Bret "Hitman" Hart Moments – Page 2
March 16, 2016 - Once the manual labor was out of the way, Bret then disciplined the developers for "dereferencing a null pointer" (those damned fools!) before taking a quick timeout to knock out the game's soundtrack, ordering the engineers to "punch it up with a little more bass".