3 ms·
No... maybe? It's probably arguable, even if it's not an interesting argument. Either way, realloc's behaviour is well-defined when the pointer is null.
by tom_ 8y ago
No... maybe? It's probably arguable, even if it's not an interesting argument.
Either way, realloc's behaviour is well-defined when the pointer is null.