All about the header files in C Programming

Asked By 5 points N/A Posted on -
qa-featured

In a C Program, a component called Header File is compulsorily included in every program. What are these header files? What is their purpose? What will happen if we don’t include them?

SHARE
Answered By 15 points N/A #183153

All about the header files in C Programming

qa-featured

Hi

A Header File is a pre-defined code/file that has an extension of ‘.h’. It is included in every program in order to incorporate the functions already defined in the header files. If the header files are not included then, we will not be able to use the pre-defined functions and hence, we will have to write extra code in order to define the functions that we want to use which in turn would make the program more difficult and lengthy.

Related Questions