Header files Vs. Standard libraries

India
June 26, 2007 7:49am CST
HI.Can anyone say me the difference between standard libraries and header files in C language?
1 person likes this
2 responses
@raghwagh (1527)
• India
26 Jun 07
Header file is something like a reusible piece of code which can be included in other programs by including the corresponding header file.Thus if you want a generalised function to be added in other programs also then you will just create a header file containing the declaration for the function and save it with extension h.Then wherever you want to use it just include the header file and then just use the function from the header file.
1 person likes this
@renagades (342)
• India
15 Jul 07
header files is something that contains only the declarations what you are going to use in the program ... But the actual definition of the functions are defined in the Standard libraries .