In C many pre-defined libraries functions are available. you can create a custom library also. In order to create a new custom user defined library, you need a strong skills in C programming Language. basically libraries are two types, 1) User defined library and 2) Pre defined libraries.
Pre – defined Library functions
In C many pre-defined Library functions are available, In order to use the pre-defined functions, you need to include the respective headers in the code. In below table, you can find the list of header files, descriptions, and learning source links,
| SL No | Library Name | Descriptions | ArunEworld Links |
|---|---|---|---|
| 1 | assert.h | Diagnostics Functions | N/A |
| 2 | cocale.h | Localization Functions | N/A |
| 3 | | A set of function for manipulating complex numbers | N/A |
| 4 | conio.h | console input/output | Link |
| 5 | ctype.h | Character Handling Functions | Link |
| 6 | errno.h | For testing error codes | N/A |
| 7 | fenv.h | A set of functions for controlling the floating-point environment | N/A |
| 8 | locale.h | Defines localization functions | N/A |
| 9 | math.h | Mathematics Functions | N/A |
| 10 | setjmp.h | Nonlocal Jump Functions | N/A |
| 11 | signal.h | Signal Handling Functions | N/A |
| 12 | stdalign.h | For querying and specifying the alignment of objects | N/A |
| 13 | stdarg.h | Variable Argument List Functions | N/A |
| 14 | stdarg.h | Accessing a varying number of arguments passed to functions | N/A |
| 15 | | For atomic operations on data shared between threads | N/A |
| 16 | stdbool.h | Defines a boolean data type | N/A |
| 17 | stdio.h | Input/Output Functions | Link |
| 18 | stdlib.h | General Utility Functions | Link |
| 19 | stdnoreturn.h | For specifying non-returning functions | N/A |
| 20 | string.h | String Functions | Link |
| 21 | tgmath.h | Type-generic mathematical functions | N/A |
| 22 | time.h | Date and Time Functions | N/A |
| 23 | uchar.h | Types and functions for manipulating Unicode characters | N/A |
| 25 | wchar.h | Defines wide string handling functions | N/A |
| 26 | windows.h | windows platform-related library functions. | Link |
math.h
- ceil(x) round up the given value. It finds the smallest integer not < x.
- floor(x) round down the given value. It finds the smallest integer not > x.
Previous & Next
- Previous : C File management
- Next : C Library conio.h