3 ms·
It has in the sense that people allocate strings much more than using fixed-size, stack-allocated arrays. Modern C uses things like glib's GString, which (in a
by bonzini 3y ago
It has in the sense that people allocate strings much more than using fixed-size, stack-allocated arrays.
Modern C uses things like glib's GString, which (in addition to keeping the NUL terminator) track the length and can resize the underlying memory. And people also use a lot more asprintf instead of strcpy and strcat.