answersLogoWhite

0

the use of header files is to add functionality. Header files are basically saying put code in that header file here so you don't have to type that many lines of code.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
JudyJudy
Simplicity is my specialty.
Chat with Judy
More answers

Because else you can't use the functions declared in that header file. E.g. we include stdio.h so we can use I/O functions, such as printf, putc and getch.

User Avatar

Wiki User

14y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Why you use header files in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp