this post was submitted on 10 Sep 2025
559 points (98.1% liked)

Programmer Humor

26307 readers
1472 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Valmond@lemmy.world 4 points 3 days ago (1 children)
[–] Ephera@lemmy.ml 3 points 3 days ago (2 children)

I believe, that would mean that any 0 is equivalent to the null pointer, since the null pointer is just memory address 0...

[–] qqq@lemmy.world 4 points 3 days ago* (last edited 3 days ago)

Not exactly "memory address 0"; there be dragons there. https://c-faq.com/null/index.html

[–] Valmond@lemmy.world 1 points 3 days ago

In C that would make sense yes.