JPDev@programming.dev to Programmer Humor@programming.dev · 7 months agoExam Answerprogramming.devimagemessage-square129fedilinkarrow-up1796arrow-down111
arrow-up1785arrow-down1imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 7 months agomessage-square129fedilink
minus-squareqaz@lemmy.worldlinkfedilinkarrow-up11·7 months agoBut does it count the null byte or not?
minus-squareSquishyPandaDev@yiffit.netlinkfedilinkarrow-up4·7 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