Indeed this is good style. The following, however, is not good style for allocating an array:
long_struct_name *fooArray = malloc(count * sizeof * fooArray); long_struct_name *fooArray = malloc(count * sizeof * fooArray);No comments yet.