Y
Hacker News
new
|
ask
|
show
|
jobs
by
kpreid
5354 days ago
Indeed this is good style. The following, however, is not good style for allocating an array:
long_struct_name *fooArray = malloc(count * sizeof * fooArray);