@[email protected] to Programmer [email protected] • 1 year agoExam Answerprogramming.devimagemessage-square128fedilinkarrow-up1795
arrow-up1795imageExam Answerprogramming.dev@[email protected] to Programmer [email protected] • 1 year agomessage-square128fedilink
minus-square@[email protected]linkfedilink36•edit-21 year agoGood thing this only uses ASCii characters, else you get into some fun discussions about UTF encoding
minus-square@[email protected]linkfedilink4•1 year agoIn most languages, length method doesn’t count the null terminator. Might result in some fun memory errors
Good thing this only uses ASCii characters, else you get into some fun discussions about UTF encoding
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