sus@programming.dev to Programmer Humor@programming.devEnglish · 7 days agoStringly typedprogramming.devimagemessage-square84linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageStringly typedprogramming.devsus@programming.dev to Programmer Humor@programming.devEnglish · 7 days agomessage-square84linkfedilink
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up0·6 days 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-up0·edit-26 days 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