as

Tuesday, 11 November 2014

C standard library

C standard library

Standard library of C is stored in the form of 29 header files as of 2014.
  1.   <stdio.h>
  2.   <stdlib.h>
  3.   <assert.h>
  4.   <ctype.h>
  5.   <errno.h>
  6.   <float.h>
  7.   <limits.h>
  8.   <locale.h>
  9.   <math.h>
  10.   <setjmp.h>
  11.   <signal.h>
  12.   <stdarg.h>
  13.   <stddef.h>
  14.   <string.h>
  15.   <threads.h>
  16.   <time.h>
  17.   <iso646.h>
  18.   <wchar.h>
  19.   <wctype.h>

C99 standard added below 6 header files.
  1.       <complex.h>
  2.       <fenv.h>
  3.       <inttypes.h>
  4.       <stdbool.h>
  5.       <stdint.h>
  6.       <tgmath.h>


C11 standard added below 5 header files.
  1.       <stdalign.h>
  2.       <stdatomic.h>
  3.       <stdnoreturn.h>
  4.       <threads.h>
  5.       <uchar.h>

All header files mentioned above are built-in header files. But we can generate user defined header files as well in C. Please note that each header file contains declarations for important functions.

For example :-

<string.h> contains declarations for many string related functions like strlen, strcat, strcpy etc.




No comments:

Post a Comment

Leave your valuable feedback. Your thoughts do matter to us.

Sponsored Links

Popular Posts

Comments

ShareThis