Header Ads

Header ADS

How many header files in C?

The number of header files in C is not fixed, as it depends on the implementation of the language and the specific needs of the program being developed.

However, the standard C library defines a set of header files that are commonly used in C programming, which are specified in the C standard. The standard library header files provide declarations for functions, data types, and macros that are commonly used in C programming.

The current version of the C standard (C17) specifies 24 standard header files, which are:

  1. assert.h
  2. complex.h
  3. ctype.h
  4. errno.h
  5. fenv.h
  6. float.h
  7. inttypes.h
  8. iso646.h
  9. limits.h
  10. locale.h
  11. math.h
  12. setjmp.h
  13. signal.h
  14. stdarg.h
  15. stdbool.h
  16. stddef.h
  17. stdint.h
  18. stdio.h
  19. stdlib.h
  20. string.h
  21. tgmath.h
  22. threads.h
  23. time.h
  24. uchar.h


In addition to these standard header files, there may be additional header files provided by the compiler or third-party libraries that are used in C programming.

কোন মন্তব্য নেই

Blogger দ্বারা পরিচালিত.