r/ProgrammerAnimemes • u/Max1Q • Feb 28 '22
It really does though
Enable HLS to view with audio, or disable this notification
1.3k
Upvotes
r/ProgrammerAnimemes • u/Max1Q • Feb 28 '22
Enable HLS to view with audio, or disable this notification
View all comments
Show parent comment
12
u/NeXtDracool Feb 28 '22
It should at the very least vary in type. NULL should always be a pointer type, 0 should always be a integer type.
Conceptually they're of course entirely unrelated and that NULL and zero are usually represented the same in memory is an implementation detail.