What is Standard Header Files ?

Long Answer
Views 1093

Answer:

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<math.h>

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.