sus@programming.dev to Programmer Humor@programming.devEnglish · 1 month agoStringly typedprogramming.devexternal-linkmessage-square83fedilinkarrow-up1241arrow-down15
arrow-up1236arrow-down1external-linkStringly typedprogramming.devsus@programming.dev to Programmer Humor@programming.devEnglish · 1 month agomessage-square83fedilink
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up0·1 month agoI believe, that would mean that any 0 is equivalent to the null pointer, since the null pointer is just memory address 0…
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up2·edit-21 month agoNot exactly “memory address 0”; there be dragons there. https://c-faq.com/null/index.html
Just cast it. /s
I believe, that would mean that any 0 is equivalent to the null pointer, since the null pointer is just memory address 0…
Not exactly “memory address 0”; there be dragons there. https://c-faq.com/null/index.html