InterviewSolution
| 1. |
What Are Header Files And What Are Its Uses In C Programming? |
|
Answer» Header files are also known as library files. They contain two essential things: the DEFINITIONS and prototypes of FUNCTIONS being used in a program. Simply PUT, commands that you use in C programming are actually functions that are DEFINED from within each header files. Each header file contains a set of functions. For example: stdio.h is a header file that contains definition and prototypes of commands like printf and scanf. Header files are also known as library files. They contain two essential things: the definitions and prototypes of functions being used in a program. Simply put, commands that you use in C programming are actually functions that are defined from within each header files. Each header file contains a set of functions. For example: stdio.h is a header file that contains definition and prototypes of commands like printf and scanf. |
|