this post was submitted on 10 Sep 2025
551 points (98.2% liked)

Programmer Humor

26265 readers
1752 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
[–] Ephera@lemmy.ml 3 points 1 day 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 1 day ago* (last edited 1 day ago)

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

[–] Valmond@lemmy.world 1 points 1 day ago

In C that would make sense yes.