must know about the header files in c.
We all know that header files contain some predefined functions, yes thats exactly true.
but we have to know how the program is present in the header files....
header files are nothing but simple text files with ".h" extension, all the header files are present in the include directory, which we can find when we open the turboc.
the header files does not contain the whole code for the predefined functions, but it just contains the prototypes required for the function( i.e predefined functions).
and the actual code is present in the library not in text files but,
the actual code object file is present in the library.
so when we start the compilation process, the code is copied in the place of the header file....
and finally the program is executed.... 😀
but we have to know how the program is present in the header files....
header files are nothing but simple text files with ".h" extension, all the header files are present in the include directory, which we can find when we open the turboc.
the header files does not contain the whole code for the predefined functions, but it just contains the prototypes required for the function( i.e predefined functions).
and the actual code is present in the library not in text files but,
the actual code object file is present in the library.
so when we start the compilation process, the code is copied in the place of the header file....
and finally the program is executed.... 😀
0