answersLogoWhite

0

Header files in Turbo C serve the same purposes they serve in every other implementation of the C Programming language.

The primary function is to separate interfaces (declarations) from implementations (definitions). This is useful whenever we have interfaces that are common to more than one translation unit. Rather than repeatedly typing out the same declarations over and over, we can simply include the header or headers that contain those declarations. The include statements force the compiler to copy the contents of the named file in place, thus ensuring the declarations are consistent throughout our program.

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

Header files in Java programming?

Java does not require header files like C/C++.


Why to use header file to easy know?

in the java as we use the inheritance property in the same way we can get the the inheritance property in c by using the prepared header files( .h files). there a single program in c use the many methods of many header files like math.h give us to use the use of floor(), sqrt() e.t.c. functions..


What is the role of header files in c?

Header files allow the user to make use of predefined libraries in order to save time and reuse code.


How many header are using in c programming?

No explicit limit, you can use so many header files as you want.


What is the use of header files as used in C programming?

Header files are used to have declarations. It is simple to include a single header file than writing all the needed functions prototypes.


What is the use of header file graphics in c plus plus programming?

It has no use in C++ itself, it is only useful in Borland Turbo C++. It provides generic graphics support for Borland Turbo C++ applications.


Why you use header files in c?

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.


How can you create a c program without using header file?

C programs do not require header files. If you want a C program without header files, you can simply not create them. However, you may or may not be able to include your non-header file source files.


Explain about header files used in c language?

list of header files in c and function prototype associated with each file


Why is it necessary to include header files in C?

It isn't necessary to include header files in C. However, without the functionality provided by some header files, your program wouldn't be able to do very much that is useful.


Why doesn't Java use header files?

A header file in C is used to import the features of parent classes in our class. The same feature is provided by the import statement in Java hence the header files are not used.


How many header files are there in C?

256