Why do we use header file

Showing Answers 1 - 2 of 2 Answers

uddin2000

  • Sep 13th, 2006
 

Hi,

   To include the functions which are not changed and which are useful for other functions For ex: I/O functions are included in the header file as they are not a part of your complier. So, we use header files to make our program easier to write

  Was this answer useful?  Yes

jintojos

  • Jun 16th, 2008
 

Header files contains pre-compiled functions.The
similar functions are grouped into same header files.
These functions can be used by our programs using the iclude
derivative. So we can use these header files according to our need
and by minimizing our exe size. Because every programdose not need
all the header files.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions