Why is it that not all header files are declared in every C program?

4 years ago
C Programming

The choice of declaring a header file at the top of each C program would depend on what commands/functions you will be using in that program. Since each header file contains different function definitions and prototype, you would be using only those header files that would contain the functions you will need. Declaring all header files in every program would only increase the overall file size and load of the program, and is not considered a good programming style.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions