Standard Header File

Header files are helping file of your C program which holds the definitions of various functions and their associated variables that needs to be imported into your C program with the help of pre-processor #include statement.


All the header file have a '.h' an extension that contains C function declaration and macro definitions. In other words, the header files can be requested using the preprocessor directive #include.


The default header file that comes with the C compiler is the stdio.h.


Including a header file means that using the content of header file in your source program. A straightforward practice while programming in C or C++ programs is that you can keep every macro, global variables, constants, and other function prototypes in the header files.


The basic syntax of using these header files is:

#include <file>


Header Files Description

stdio.h Input/Output functions

conio.h Console Input/Output functions

stdlib.h General utility functions

math.h Mathematics functions

string.h String functions

ctype.h Character handling functions

time.h Date and time functions

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post