c - string.h header in the file with the function main -
i have program several .c , .h files. in 1 of .c files using function strcmp(). adding in file header string.h
is string.h header in file function main required?
thanks!
if translation unit containing function main not use function strcmp
or other declaration header <string.h>
inclusion of header in translation unit redundant , confuses readers.
Comments
Post a Comment