Depending on how large the array, I wouldn't worry. Unless this is some embedded or otherwise limited-resource system, 500-1k bytes is no biggie (I often use BUFSIZ, it's declared in stdio.h).
...