answersLogoWhite

0


Best Answer

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..

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

6y ago

Header files ensure our declarations are consistent. That is, we only declare things once (in a header) and include that header wherever that declaration is required.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why to use header file to easy know?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the use of header file stdbool.h?

stdbool header file use for a new data type that is boolean value


What is the use of myconstant.h header file?

You can include it into your source.


How do you include a system header file called sysheader.h in a c source file?

There is no system header called share.h, but if there were, it would be: #include <share.h>


How do you include classes and structures in header files in c plus plus?

Classes and structures can be put in a header file the same way you would use them in a main program; the only difference is that they are placed in a separate file, called a header file. Then, after creating a new file, include that new file with the definition by the use of the preprocessor #include statement.


What is the name of header file of delay?

Use the help (F1).


How can you create a header file in c?

Use a text-editor.


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.


Which header file must be included to use the function pow?

The std::pow() function can be found in the <cmath> header.


Which gas do you use to pump a football?

Helium, easy to header


Why you use header file namely stdlib?

It contains useful function-prototypes.


Can you compile program without header file?

Yes,we can compile our program without header file without any error,but we can not use any predefine functions like printf,scanf.


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.