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

Programmer Humor

26237 readers
2143 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 3 points 21 hours ago (1 children)
[–] Ephera@lemmy.ml 2 points 18 hours 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 3 points 13 hours ago* (last edited 13 hours ago)

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

[–] Valmond@lemmy.world 1 points 18 hours ago

In C that would make sense yes.