The file containing the definitions and prototypes of the functions being used in the program are called a header file. It is also known as a library file.
Example: The header file contains commands like printf and scanf is from the stdio.h library file.