3 ms·
Because occasionally you use wrong length with wrong pointer and read or overwrite something you didn't want to. It's more convenient and safer to have these t
by qb45 9y ago
Because occasionally you use wrong length with wrong pointer and read or overwrite something you didn't want to.
It's more convenient and safer to have these two variables packed together as a "string object" and have string functions operate on that - then they always know where the string starts and ends in memory.