6 ms·
Strings, and why strlen(s) != the number of letters in a string (UTF-8). Why a string must end with a 0 byte. Binary shifting numbers, especially signed numbe
by palish 15y ago
Strings, and why strlen(s) != the number of letters in a string (UTF-8).
Why a string must end with a 0 byte.
Binary shifting numbers, especially signed numbers.
Memory management; it's fun for the whole family, and more than just knowing how to allocate memory and store a pointer to it.
Some other points that I'm sure I'm missing.
- Jach 15y ago> Why a string must end with a 0 byte. Unless it's a pstring or you're working with assembly, other language, etc. But yes there is a lot to learn with C you don't necessarily get with higher level languages in most cases.