saving . . . saved Header file has been deleted. Header file has been hidden .
Header file
Title
Question
What is the use of header files as used in C programming?

C-and-Cpp First-C-Program 00-01 min 0-10 sec 29-02-20, 2:52 p.m. Karnavel

Answers:

Header files are used to split a programmer's code into multiple independent files, and compile independently.  Most of you are just learning to program in C, and hence your program will just be 1 file.  But real programs, like say Linux source code, consists of thousands of files.  Header files are a way of conveying relevant information from one portion of the code-base to another.  They are also used when a programmer uses libraries created by someone else.
29-02-20, 3:01 p.m. bhaskar76


Log-in to answer to this question.