JPDev@programming.dev to Programmer Humor@programming.dev · 2 years agoExam Answerprogramming.devimagemessage-square128linkfedilinkarrow-up1799
arrow-up1799imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square128linkfedilink
minus-squareSquishyPandaDev@yiffit.netlinkfedilinkarrow-up4·2 years agoIn most languages, length method doesn’t count the null terminator. Might result in some fun memory errors
But does it count the null byte or not?
In most languages, length method doesn’t count the null terminator. Might result in some fun memory errors