2 ms·
I think he's right. Treating strings as if they were normal arrays makes things easier and more uniform. The size of arrays should always be known. I still kee
by matheusmoreira 8y ago
I think he's right. Treating strings as if they were normal arrays makes things easier and more uniform. The size of arrays should always be known.
I still keep the NUL terminator around for compatibility reasons. Linux system calls don't need the NUL, but other C code might depend on it.