answersLogoWhite

0

What are the function of header files?

Updated: 8/20/2019
User Avatar

Wiki User

12y ago

Best Answer

They declare library functions

They contain macro definitions

They contain type definitions

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the function of header files?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is header function definition in c language?

No predefined 'header' function in the standard C libraries. There are header files, if that's what you mean.


Is header file the library file?

No. Header files are those which contains declaration part of function & library files are those which contains definition part of function. These are those functions which we called in our program by using header files.


Where can the declaration of function be placed?

Source/header files.


Explain about header files used in c language?

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


What is a header file and library function?

header files are predefined in c, they include the all necessary function to u to do your work easy instead of writing a function for printing a message or to read a input form key board we are using the library functions which are in the header files. there are different types of header files depending upon the requirement we use them.


Header files in Java programming?

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


How do you create a user defined header file?

Header files are not much different from usual cpp files. There are basically two different things. It's file extension: you need to choose "header file" when you create it or save as .h file. Second is header files do not have main() function. When you are done with you header file do not forger to include it in your project by writing preprocessor directive:#include "your_header_file.h"


What are the Names of header files in java?

Java doesn't use header files.


Is there any shortcut in compilers to find required header files for particular function in c c plus plus also does all the compilers have same header files?

You can find a detailed guide on CC plus on geany.org/manual/current/


Can Header file be called in main function or not?

No, main.c does not require a header file. When you have a ".c" and ".h" pair, the ".h" file is to declare the existence of functions that are defined in the ".c" files so that these functions can be called in other files. since "main.c" needs the headers of the other modules (to access their data types and functions) but usually doesn't have a header file itself.Header files aren't "called", they are "included",but usually not inside any function.


Why are header files not required when using far and near pointers?

In C programming, header files are required. It doesn't matter if you are using near pointers, far pointers, both, or neither -- you still need header files. There is no connection between the necessity of header files and the pointers' size.


What is meant by function header in java?

That means, the header of a function. The header is the top part, before the opening braces.