JPDev@programming.dev to Programmer Humor@programming.dev · 1 year agoExam Answerprogramming.devimagemessage-square128fedilinkarrow-up1795
arrow-up1795imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square128fedilink
minus-squareSquishyPandaDev@yiffit.netlinkfedilinkarrow-up4·1 year 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