3 ms·
> can ... write *buffer = malloc(n * sizeof *buffer) The extra parentheses are there for the us humans who might need help distinguishing between * as derefere
by nanis 6y ago
> can ... write *buffer = malloc(n * sizeof *buffer)
The extra parentheses are there for the us humans who might need help distinguishing between * as dereferencing operator versus * as multiplication all happening within the space of eight or so characters.