Home / Questions / What is Standard Header Files ?
Explanatory Question

What is Standard Header Files ?

👁 1,185 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Prototypes of the library functions are given in several standard header files. For example, stdio.h contains prototypes for printf, scanf, putchar and getchar . Other standard header files are:

  1. assert.h assertions
  2. ctype.h character class tests
  3. float.h system limits for floating point types
  4. limits.h system limits for integral types
  5. math.h mathematical functions
  6. setjmp.h non-local jumps
  7. signal.h signals and error handlingstdarg.h variable length parameter lists
  8. stdlib.h utility functions; number conversions, memory allocation, exit and system , Quick Sort
  9. string.h string functions
  10. time.h date and time functions

To include these standard header files in your code, use the preprocessor directive #include and place angle brackets around the name of the file, e.g.

#include