227k views
20 votes
Why header files are needed in every c program ?expalin​

User Dreanmer
by
4.5k points

1 Answer

1 vote

Answer:

Header files serve two purposes. System header files declare the interfaces to parts of the operating system. You include them in your program to supply the definitions and declarations you need to invoke system calls and libraries.

User Michael LB
by
4.3k points