JPDev@programming.dev to Programmer Humor@programming.dev · 3 months agoExam Answerprogramming.devimagemessage-square114fedilinkarrow-up1405arrow-down15
arrow-up1400arrow-down1imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 3 months agomessage-square114fedilink
minus-squareSquishyPandaDev@yiffit.netlinkfedilinkarrow-up4·3 months 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