What is a static library:

How a Static library Works:

How to create a Static Library:

$ gcc -c *.c
$ ar -rc libholberton.a *.o

How to use a Static Library:

gcc main.c -L. -lholberton -o main
$./main