Skip to main content

Predefined Functions in C

Predefined functions (also called library functions or built-in functions) are functions that are already written, compiled, and provided by C’s standard libraries. You use them by including the appropriate header file with #include.

Syntax


Common Library Categories

1. Input / Output — <stdio.h>


2. String Handling — <string.h>


3. Math Functions — <math.h>


4. Standard Library — <stdlib.h>


5. Character Handling — <ctype.h>


6. Time Functions — <time.h>


Example: Using Multiple Libraries