JPDev@programming.dev to Programmer Humor@programming.dev · 8 months agoExam Answerprogramming.devimagemessage-square116fedilinkarrow-up1737
arrow-up1726imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 8 months agomessage-square116fedilink
minus-squareqaz@lemmy.worldlinkfedilinkarrow-up10·8 months agoBut does it count the null byte or not?
minus-squareSquishyPandaDev@yiffit.netlinkfedilinkarrow-up4·8 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