The header file for random functions ( like rand(), srand() ) is stdlib.h in C and cstdlib in C++.
Header files are used to have declarations. It is simple to include a single header file than writing all the needed functions prototypes.
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.
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.
stdio.h
Usually declared only-oops.
All functions are included without graphics.h.The graphic parameters will not be included.
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.
Java does not require header files like C/C++.
Rephrase your question so it is comprehensible.
Loads of them. Consult your help, or load these headers into a text-editor.
They declare library functions They contain macro definitions They contain type definitions
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..