Hacker News new | past | comments | ask | show | jobs | submit login

Indeed this is good style. The following, however, is not good style for allocating an array:

    long_struct_name *fooArray = malloc(count * sizeof * fooArray);



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: