3 ms·
> That'd be silly. Among many other problems, it would mean you can't do things like take a substring of a const buffer via pointer arithmetic, because you'd ne
by naasking 10y ago
> That'd be silly. Among many other problems, it would mean you can't do things like take a substring of a const buffer via pointer arithmetic, because you'd need to add a header in the middle
Right, and now you understand why free should have always accepted a size parameter, just like malloc.