2 ms·
That just makes it more verbose. This, on the other hand, always allocates one object of foo's pointed-to-size, whatever its type: foo = malloc(sizeof(*fo
by userbinator 11y ago
That just makes it more verbose.
This, on the other hand, always allocates one object of foo's pointed-to-size, whatever its type:
foo = malloc(sizeof(*foo));